<?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: A Tale of Two Epiphanies: TDD and Mocking</title>
	<atom:link href="http://jameskovacs.com/2006/09/10/a-tale-of-two-epiphanies-tdd-and-mocking/feed/" rel="self" type="application/rss+xml" />
	<link>http://jameskovacs.com/2006/09/10/a-tale-of-two-epiphanies-tdd-and-mocking/</link>
	<description></description>
	<lastBuildDate>Wed, 21 Mar 2012 14:32:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: James</title>
		<link>http://jameskovacs.com/2006/09/10/a-tale-of-two-epiphanies-tdd-and-mocking/comment-page-1/#comment-730</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 25 May 2010 03:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2006/09/10/A+Tale+Of+Two+Epiphanies+TDD+And+Mocking#comment-730</guid>
		<description>@csokun - Since writing this post, I have reconsidered using interfaces for domain classes. So I don&#039;t have IDepartment, ICustomer, IOrder, etc. In my tests, I use concrete classes and simplify creation using an ObjectMother. If I need to stub domain behaviour, I&#039;ll mark methods as virtual. (Typically I&#039;m using NHibernate, which requires virtuals for proxying.) I still use interfaces heavily for domain and infrastructure services, such as IDepartmentTask, IDepartmentRepository, IValidator&lt;Department&gt;, etc.</description>
		<content:encoded><![CDATA[<p>@csokun &#8211; Since writing this post, I have reconsidered using interfaces for domain classes. So I don&#8217;t have IDepartment, ICustomer, IOrder, etc. In my tests, I use concrete classes and simplify creation using an ObjectMother. If I need to stub domain behaviour, I&#8217;ll mark methods as virtual. (Typically I&#8217;m using NHibernate, which requires virtuals for proxying.) I still use interfaces heavily for domain and infrastructure services, such as IDepartmentTask, IDepartmentRepository, IValidator<department>, etc.</department></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: csokun</title>
		<link>http://jameskovacs.com/2006/09/10/a-tale-of-two-epiphanies-tdd-and-mocking/comment-page-1/#comment-711</link>
		<dc:creator>csokun</dc:creator>
		<pubDate>Sat, 22 May 2010 11:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2006/09/10/A+Tale+Of+Two+Epiphanies+TDD+And+Mocking#comment-711</guid>
		<description>thanks for the post it is exactly the situation I am in right now and this help me a lot only one doubt IDepartment interface look like we had to create a lot of interface for each POCO class aren&#039;t we?</description>
		<content:encoded><![CDATA[<p>thanks for the post it is exactly the situation I am in right now and this help me a lot only one doubt IDepartment interface look like we had to create a lot of interface for each POCO class aren&#8217;t we?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

