<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>BUY Hydrocortisone Cream ONLINE WITHOUT PRESCRIPTION</title>
	<atom:link href="http://elegantcode.com/2008/04/07/mocking-nested-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2008/04/07/mocking-nested-methods/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mocking-nested-methods</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>BUY Hydrocortisone Cream ONLINE WITHOUT PRESCRIPTION</title>
		<link>http://elegantcode.com/2008/04/07/mocking-nested-methods/comment-page-1/#comment-19560</link>
		<dc:creator>Elegant Code &#187; Partial Mocks explained</dc:creator>
		<pubDate>Wed, 09 Apr 2008 03:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/07/mocking-nested-methods/#comment-19560</guid>
		<description>[...] you are wondering what is prompting this post, it is the fact that on my last post I got schooled by Jeff Brown of Bits-in-Motion.&#160;&#160; Jeff is also one of the minds behind [...]</description>
		<content:encoded><![CDATA[<p>[...] you are wondering what is prompting this post, it is the fact that on my last post I got schooled by Jeff Brown of Bits-in-Motion.&nbsp;&nbsp; Jeff is also one of the minds behind [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>BUY Hydrocortisone Cream ONLINE WITHOUT PRESCRIPTION</title>
		<link>http://elegantcode.com/2008/04/07/mocking-nested-methods/comment-page-1/#comment-19523</link>
		<dc:creator>Chris Brandsma</dc:creator>
		<pubDate>Tue, 08 Apr 2008 17:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/07/mocking-nested-methods/#comment-19523</guid>
		<description>@Jeff - Thank you for the reply.  I did forget about that approach.

So in this case you create your class as normal, but make most of you methods virtual.  Then, in your test library, create a class that inherits from the class you are testing, and override the methods you need to replace.

Is that it?

BTW: I think you miss-typed your blog, should have been: http://blog.bits-in-motion.com/</description>
		<content:encoded><![CDATA[<p>@Jeff &#8211; Thank you for the reply.  I did forget about that approach.</p>
<p>So in this case you create your class as normal, but make most of you methods virtual.  Then, in your test library, create a class that inherits from the class you are testing, and override the methods you need to replace.</p>
<p>Is that it?</p>
<p>BTW: I think you miss-typed your blog, should have been: <a href="http://blog.bits-in-motion.com/" rel="nofollow">http://blog.bits-in-motion.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>BUY Hydrocortisone Cream ONLINE WITHOUT PRESCRIPTION</title>
		<link>http://elegantcode.com/2008/04/07/mocking-nested-methods/comment-page-1/#comment-19503</link>
		<dc:creator>Jeff Brown</dc:creator>
		<pubDate>Tue, 08 Apr 2008 09:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/07/mocking-nested-methods/#comment-19503</guid>
		<description>In these cases, I will generally prefer to make Bar virtual and to override it in a mock subclass.</description>
		<content:encoded><![CDATA[<p>In these cases, I will generally prefer to make Bar virtual and to override it in a mock subclass.</p>
]]></content:encoded>
	</item>
	<item>
		<title>BUY Hydrocortisone Cream ONLINE WITHOUT PRESCRIPTION</title>
		<link>http://elegantcode.com/2008/04/07/mocking-nested-methods/comment-page-1/#comment-19496</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #68</dc:creator>
		<pubDate>Tue, 08 Apr 2008 07:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/07/mocking-nested-methods/#comment-19496</guid>
		<description>[...] Mocking nested methods - Chris Brandsma illustrates a technique that can allow you to create tests for methods without dependency on the returns of nested method calls - at the expense of increasing the code complexity [...]</description>
		<content:encoded><![CDATA[<p>[...] Mocking nested methods &#8211; Chris Brandsma illustrates a technique that can allow you to create tests for methods without dependency on the returns of nested method calls &#8211; at the expense of increasing the code complexity [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

