<?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: Using Mockito to Unit Test Java Applications</title>
	<atom:link href="http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 10:28:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ezio</title>
		<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/comment-page-1/#comment-530</link>
		<dc:creator>Ezio</dc:creator>
		<pubDate>Sun, 29 Jan 2012 22:41:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=604#comment-530</guid>
		<description>Thanks for the informative post on Mockito. If you are willing to discuss more on unit testing with mockit and unit testing for other languages can check out &lt;a href=&quot;mockito-mock.com&quot; rel=&quot;nofollow&quot;&gt;Mockito Mock &lt;/a&gt; forum which is exclusively for &lt;a href=&quot;mockito-mock.com&quot; rel=&quot;nofollow&quot;&gt;unit testing&lt;/a&gt; for 
different languages. It is a upcoming forum and needs support to make it strong so we can have forum where people can share their knowledge on 
Testing.</description>
		<content:encoded><![CDATA[<p>Thanks for the informative post on Mockito. If you are willing to discuss more on unit testing with mockit and unit testing for other languages can check out <a href="mockito-mock.com" rel="nofollow">Mockito Mock </a> forum which is exclusively for <a href="mockito-mock.com" rel="nofollow">unit testing</a> for<br />
different languages. It is a upcoming forum and needs support to make it strong so we can have forum where people can share their knowledge on<br />
Testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/comment-page-1/#comment-523</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 05 Dec 2011 08:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=604#comment-523</guid>
		<description>Thanks! This helped me a lot!! Keep up the simple and clear explanations!</description>
		<content:encoded><![CDATA[<p>Thanks! This helped me a lot!! Keep up the simple and clear explanations!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sum</title>
		<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/comment-page-1/#comment-340</link>
		<dc:creator>Sum</dc:creator>
		<pubDate>Wed, 01 Jun 2011 16:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=604#comment-340</guid>
		<description>I went over a few mockito articles online (including mockito.org) but could not really understand exactly how it works. This article has made it clear to me. Thanks a bunch for writing it!</description>
		<content:encoded><![CDATA[<p>I went over a few mockito articles online (including mockito.org) but could not really understand exactly how it works. This article has made it clear to me. Thanks a bunch for writing it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Neal</title>
		<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/comment-page-1/#comment-109</link>
		<dc:creator>Steve Neal</dc:creator>
		<pubDate>Fri, 28 Jan 2011 21:20:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=604#comment-109</guid>
		<description>Well spotted Camilo! Thanks for noticing that. Yes the DAO in the UML returns a long, so you&#039;ll need to pass a long into the test. You could have put .thenReturn(8L) too, which is a bit nicer than casting an int.</description>
		<content:encoded><![CDATA[<p>Well spotted Camilo! Thanks for noticing that. Yes the DAO in the UML returns a long, so you&#8217;ll need to pass a long into the test. You could have put .thenReturn(8L) too, which is a bit nicer than casting an int.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: camilo lopes</title>
		<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/comment-page-1/#comment-108</link>
		<dc:creator>camilo lopes</dc:creator>
		<pubDate>Fri, 28 Jan 2011 16:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=604#comment-108</guid>
		<description>i have tested the code above, and it is not working very well, your explanation was good, but i had to adapt some codes to it works correctly, see: 
AccountDao mockeddao = Mockito.mock(AccountDao.class);
		Mockito.when(AccountDao.countOverDays()).thenReturn((long) 8);</description>
		<content:encoded><![CDATA[<p>i have tested the code above, and it is not working very well, your explanation was good, but i had to adapt some codes to it works correctly, see:<br />
AccountDao mockeddao = Mockito.mock(AccountDao.class);<br />
		Mockito.when(AccountDao.countOverDays()).thenReturn((long) 8);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: camilo lopes</title>
		<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/comment-page-1/#comment-107</link>
		<dc:creator>camilo lopes</dc:creator>
		<pubDate>Fri, 28 Jan 2011 16:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=604#comment-107</guid>
		<description>i have a one suggestion to this post: why did not you publish the code from Account and AccountDAO? i believe that to beginner, it will be too good, like this we can see all structure.

thaks :D</description>
		<content:encoded><![CDATA[<p>i have a one suggestion to this post: why did not you publish the code from Account and AccountDAO? i believe that to beginner, it will be too good, like this we can see all structure.</p>
<p>thaks <img src='http://blog.smartkey.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: camilo lopes</title>
		<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/comment-page-1/#comment-106</link>
		<dc:creator>camilo lopes</dc:creator>
		<pubDate>Fri, 28 Jan 2011 15:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=604#comment-106</guid>
		<description>good! very good! the best post, i found on the internet about it. direct and objective. 
congratulations. :D</description>
		<content:encoded><![CDATA[<p>good! very good! the best post, i found on the internet about it. direct and objective.<br />
congratulations. <img src='http://blog.smartkey.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish</title>
		<link>http://blog.smartkey.co.uk/2010/02/mockito-unit-test-java/comment-page-1/#comment-70</link>
		<dc:creator>Manish</dc:creator>
		<pubDate>Fri, 20 Aug 2010 02:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartkey.co.uk/?p=604#comment-70</guid>
		<description>really best explained till date on net</description>
		<content:encoded><![CDATA[<p>really best explained till date on net</p>
]]></content:encoded>
	</item>
</channel>
</rss>

