<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Unit testing non-public types using reflection</title><link>http://blogs.msdn.com/ddietric/archive/2008/06/19/unit-testing-non-public-types-using-reflection.aspx</link><description>Let's say you want to unit test the following class: using System; internal class Foo { internal Foo( object parameter) { if (parameter == null ) throw new ArgumentException (); } internal int ReturnZero() { return 1; } } F irst of all, besides being</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #119</title><link>http://blogs.msdn.com/ddietric/archive/2008/06/19/unit-testing-non-public-types-using-reflection.aspx#8624854</link><pubDate>Fri, 20 Jun 2008 09:52:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8624854</guid><dc:creator>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #119</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.cwa.me.uk/2008/06/20/the-morning-brew-119/"&gt;http://blog.cwa.me.uk/2008/06/20/the-morning-brew-119/&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>