<?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: EasyMock experience</title>
	<atom:link href="http://www.lucagrulla.it/blog/2008/02/23/easymock-experience/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lucagrulla.it/blog/2008/02/23/easymock-experience/</link>
	<description>The blog formerly known as "(s)ragionamenti polimorfici"</description>
	<lastBuildDate>Sun, 20 Jun 2010 19:08:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Luca</title>
		<link>http://www.lucagrulla.it/blog/2008/02/23/easymock-experience/comment-page-1/#comment-12983</link>
		<dc:creator>Luca</dc:creator>
		<pubDate>Sun, 25 Jan 2009 14:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucagrulla.it/wordpress/2008/02/23/easymock-experience/#comment-12983</guid>
		<description>Hi Henri,

thank you for the clarification !

I&#039;ll definitively give another try to EasyMock even if the replay/verify style of interaction with the mock doesn&#039;t convince me yet !</description>
		<content:encoded><![CDATA[<p>Hi Henri,</p>
<p>thank you for the clarification !</p>
<p>I&#8217;ll definitively give another try to EasyMock even if the replay/verify style of interaction with the mock doesn&#8217;t convince me yet !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henri</title>
		<link>http://www.lucagrulla.it/blog/2008/02/23/easymock-experience/comment-page-1/#comment-12950</link>
		<dc:creator>Henri</dc:creator>
		<pubDate>Sun, 28 Dec 2008 18:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucagrulla.it/wordpress/2008/02/23/easymock-experience/#comment-12950</guid>
		<description>I&#039;m a little bit after the battle since this post is quite old. Anyway, I must say I&#039;m a little bit puzzled by your syntax.

A mock is replayed/verified doing replay(mock)/verify(mock).

A stub is created doing expect(mock,someMethod()).andStubReturn(something).

createNiceMock is used to have the mock returning default values by... default. You can then record a real behavior if needed (stub or not).

So I don&#039;t feel you&#039;ve tested EasyMock enough before commenting. However, I must agree on one thing, Mockito really seems to have pull-up some nice ideas.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a little bit after the battle since this post is quite old. Anyway, I must say I&#8217;m a little bit puzzled by your syntax.</p>
<p>A mock is replayed/verified doing replay(mock)/verify(mock).</p>
<p>A stub is created doing expect(mock,someMethod()).andStubReturn(something).</p>
<p>createNiceMock is used to have the mock returning default values by&#8230; default. You can then record a real behavior if needed (stub or not).</p>
<p>So I don&#8217;t feel you&#8217;ve tested EasyMock enough before commenting. However, I must agree on one thing, Mockito really seems to have pull-up some nice ideas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberto</title>
		<link>http://www.lucagrulla.it/blog/2008/02/23/easymock-experience/comment-page-1/#comment-12936</link>
		<dc:creator>uberto</dc:creator>
		<pubDate>Wed, 27 Feb 2008 14:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucagrulla.it/wordpress/2008/02/23/easymock-experience/#comment-12936</guid>
		<description>Mockito seems very simple and clear but works only with interfaces.
Maybe this is not a big problem because when I needed to mock a concrete class (because of bad design) I had had to create my own mock class, for the same bad design reasons.</description>
		<content:encoded><![CDATA[<p>Mockito seems very simple and clear but works only with interfaces.<br />
Maybe this is not a big problem because when I needed to mock a concrete class (because of bad design) I had had to create my own mock class, for the same bad design reasons.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
