<?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>Comments on: Partial Mocks explained</title>
	<atom:link href="http://elegantcode.com/2008/04/08/partial-mocks-explained/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2008/04/08/partial-mocks-explained/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=partial-mocks-explained</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 23:42:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: John</title>
		<link>http://elegantcode.com/2008/04/08/partial-mocks-explained/comment-page-1/#comment-63862</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 01 Jun 2011 16:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/08/partial-mocks-explained/#comment-63862</guid>
		<description>Thanks, good explanation.</description>
		<content:encoded><![CDATA[<p>Thanks, good explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Palle Cogburn</title>
		<link>http://elegantcode.com/2008/04/08/partial-mocks-explained/comment-page-1/#comment-24910</link>
		<dc:creator>Palle Cogburn</dc:creator>
		<pubDate>Wed, 25 Jun 2008 22:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/08/partial-mocks-explained/#comment-24910</guid>
		<description>Thank you. This was very helpful to me. I am learning Moq and I was having a problem testing classes that had statements like this:
&lt;code&gt;Context.Current.ActiveProcessor.GetInstrument(InstrumentId id)&lt;/code&gt;

I now realize that the design needs to be changed to be testable to isolate the statement into a separate method.

Bottom line is: &quot;If you can&#039;t test it, your design is wrong.&quot;</description>
		<content:encoded><![CDATA[<p>Thank you. This was very helpful to me. I am learning Moq and I was having a problem testing classes that had statements like this:<br />
<code>Context.Current.ActiveProcessor.GetInstrument(InstrumentId id)</code></p>
<p>I now realize that the design needs to be changed to be testable to isolate the statement into a separate method.</p>
<p>Bottom line is: &#8220;If you can&#8217;t test it, your design is wrong.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J-F Pinero</title>
		<link>http://elegantcode.com/2008/04/08/partial-mocks-explained/comment-page-1/#comment-24052</link>
		<dc:creator>J-F Pinero</dc:creator>
		<pubDate>Tue, 17 Jun 2008 03:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/08/partial-mocks-explained/#comment-24052</guid>
		<description>Thanks for the quick comparison. We use Rhino at work (well my small team does) and I&#039;ve been trying to convince them to switch over to Moq since we started using c# 3.0.

This will be a nice little &quot;Hello Moq World&quot; example for them.</description>
		<content:encoded><![CDATA[<p>Thanks for the quick comparison. We use Rhino at work (well my small team does) and I&#8217;ve been trying to convince them to switch over to Moq since we started using c# 3.0.</p>
<p>This will be a nice little &#8220;Hello Moq World&#8221; example for them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links Today (2008-04-10)</title>
		<link>http://elegantcode.com/2008/04/08/partial-mocks-explained/comment-page-1/#comment-19645</link>
		<dc:creator>Links Today (2008-04-10)</dc:creator>
		<pubDate>Thu, 10 Apr 2008 15:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/08/partial-mocks-explained/#comment-19645</guid>
		<description>[...] Partial Mocks explained [...]</description>
		<content:encoded><![CDATA[<p>[...] Partial Mocks explained [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Brown</title>
		<link>http://elegantcode.com/2008/04/08/partial-mocks-explained/comment-page-1/#comment-19577</link>
		<dc:creator>Jeff Brown</dc:creator>
		<pubDate>Wed, 09 Apr 2008 09:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/08/partial-mocks-explained/#comment-19577</guid>
		<description>Argh, I got the wrong website link in there again.  FireFox &quot;helpfully&quot; cached it for me from earlier.  *sigh*</description>
		<content:encoded><![CDATA[<p>Argh, I got the wrong website link in there again.  FireFox &#8220;helpfully&#8221; cached it for me from earlier.  *sigh*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Brown</title>
		<link>http://elegantcode.com/2008/04/08/partial-mocks-explained/comment-page-1/#comment-19576</link>
		<dc:creator>Jeff Brown</dc:creator>
		<pubDate>Wed, 09 Apr 2008 09:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/04/08/partial-mocks-explained/#comment-19576</guid>
		<description>Looks good!

Anyways, don&#039;t worry too much about being &quot;schooled.&quot;  I was actually the one who asked Ayende to add PartialMock in the first place and I contributed a few other things besides.  So Rhino.Mocks is pretty dear to my heart.  :-)

Now Moq is starting to look pretty good with those tidy little lambdas...  There&#039;s a lot of potential for more expressive syntax with C# 3.0.  mmm!</description>
		<content:encoded><![CDATA[<p>Looks good!</p>
<p>Anyways, don&#8217;t worry too much about being &#8220;schooled.&#8221;  I was actually the one who asked Ayende to add PartialMock in the first place and I contributed a few other things besides.  So Rhino.Mocks is pretty dear to my heart.  <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Now Moq is starting to look pretty good with those tidy little lambdas&#8230;  There&#8217;s a lot of potential for more expressive syntax with C# 3.0.  mmm!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

