<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Test Driven Design using mocks- Lessons Learnt (Part 2)</title>
	<atom:link href="http://isaiahperumalla.wordpress.com/2008/05/28/test-driven-design-using-mocks-lessons-learnt-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://isaiahperumalla.wordpress.com/2008/05/28/test-driven-design-using-mocks-lessons-learnt-part-2/</link>
	<description>Thoughts on Object Oriented Design, Smalltalk, Behaviour Driven Development and .NET</description>
	<lastBuildDate>Sun, 20 Sep 2009 20:17:41 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: isaiahperumalla</title>
		<link>http://isaiahperumalla.wordpress.com/2008/05/28/test-driven-design-using-mocks-lessons-learnt-part-2/#comment-60</link>
		<dc:creator>isaiahperumalla</dc:creator>
		<pubDate>Tue, 03 Feb 2009 20:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://isaiahperumalla.wordpress.com/?p=9#comment-60</guid>
		<description>@Aaron
Thanks, thats a good question. this example was simply to demonstrate TDD using mocks. 
An alternate solution would be Renderer#PrintSale(Sale), this probably makes more sense depending on the domain. I will write a post on some of the alternatives and the refactoring the interaction model.

you might find this article useful &lt;a href=&quot;http://msdn.microsoft.com/en-ca/magazine/dd882516.aspx&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-ca/magazine/dd882516.aspx&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@Aaron<br />
Thanks, thats a good question. this example was simply to demonstrate TDD using mocks.<br />
An alternate solution would be Renderer#PrintSale(Sale), this probably makes more sense depending on the domain. I will write a post on some of the alternatives and the refactoring the interaction model.</p>
<p>you might find this article useful <a href="http://msdn.microsoft.com/en-ca/magazine/dd882516.aspx" rel="nofollow">http://msdn.microsoft.com/en-ca/magazine/dd882516.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron VonderHaar</title>
		<link>http://isaiahperumalla.wordpress.com/2008/05/28/test-driven-design-using-mocks-lessons-learnt-part-2/#comment-59</link>
		<dc:creator>Aaron VonderHaar</dc:creator>
		<pubDate>Tue, 27 Jan 2009 19:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://isaiahperumalla.wordpress.com/?p=9#comment-59</guid>
		<description>That&#039;s a great article!  It really shows the thought process of how TDD works, and how it can lead to better design.

Although now I&#039;m a bit curious about the process that motivated you to create a Sale#PrintReceiptOn(Renderer) method rather than creating a Renderer#PrintSale(Sale) method.  Have you talked about that type of design decision in any of your other blog posts?</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great article!  It really shows the thought process of how TDD works, and how it can lead to better design.</p>
<p>Although now I&#8217;m a bit curious about the process that motivated you to create a Sale#PrintReceiptOn(Renderer) method rather than creating a Renderer#PrintSale(Sale) method.  Have you talked about that type of design decision in any of your other blog posts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Test Driven Design using mocks – Lessons learnt (Part 1) &#171; Isaiah Perumalla</title>
		<link>http://isaiahperumalla.wordpress.com/2008/05/28/test-driven-design-using-mocks-lessons-learnt-part-2/#comment-18</link>
		<dc:creator>Test Driven Design using mocks – Lessons learnt (Part 1) &#171; Isaiah Perumalla</dc:creator>
		<pubDate>Wed, 28 May 2008 22:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://isaiahperumalla.wordpress.com/?p=9#comment-18</guid>
		<description>[...] between objects an abstract level”. I will try explaining by giving an example in the next post Possibly related posts: (automatically generated)TDD [...]</description>
		<content:encoded><![CDATA[<p>[...] between objects an abstract level”. I will try explaining by giving an example in the next post Possibly related posts: (automatically generated)TDD [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
