<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7975659226227918166.post3458745773974580853..comments</id><updated>2012-01-24T08:03:50.352-08:00</updated><category term='architecture solutions'/><category term='hibernate'/><category term='inheritance'/><category term='solution'/><category term='java'/><category term='jpa'/><category term='comparison'/><category term='developing'/><category term='stub'/><category term='unit testing'/><category term='mock'/><category term='polymorphism'/><category term='unitils'/><category term='framework'/><category term='architecture'/><category term='dm server'/><title type='text'>Comments on Vasily Sizov. Funky life.: Java Mock Frameworks Comparison

In this post I tr...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.sizovpoint.com/feeds/3458745773974580853/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html'/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/S2h6xvAMJxI/AAAAAAAAAEQ/6cFIXhvNZHo/S220/big_75850.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-8652637207275180918</id><published>2012-01-24T08:03:50.352-08:00</published><updated>2012-01-24T08:03:50.352-08:00</updated><title type='text'>Thanks for the informative post on Mockito. If you...</title><content type='html'>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="www.mockito-mock.com" rel="nofollow"&gt;Mockito Mock &lt;/a&gt; forum which is exclusively for &lt;a href="www.mockito-mock.com" rel="nofollow"&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 &lt;br /&gt;Testing.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/8652637207275180918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/8652637207275180918'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1327421030352#c8652637207275180918' title=''/><author><name>om3ga</name><uri>http://www.blogger.com/profile/00913276821604794180</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-349224813'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-1267939354668545372</id><published>2010-01-03T07:48:30.365-08:00</published><updated>2010-01-03T07:48:30.365-08:00</updated><title type='text'>Rogerio,
Unfortunately I still don&amp;#39;t have enou...</title><content type='html'>Rogerio,&lt;br /&gt;Unfortunately I still don&amp;#39;t have enough time to update my matrix, so thank you so much for posting here.&lt;br /&gt;&lt;br /&gt;Hope it helps everyone interested in the topic.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/1267939354668545372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/1267939354668545372'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1262533710365#c1267939354668545372' title=''/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/Sc6hjULvEzI/AAAAAAAAAAM/akz7Eyq4gwU/s1600-R/sizov.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1353294744'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-8376952464366003673</id><published>2010-01-03T07:17:29.622-08:00</published><updated>2010-01-03T07:17:29.622-08:00</updated><title type='text'>I created my own comparison matrix: http://code.go...</title><content type='html'>I created my own comparison matrix: http://code.google.com/p/jmockit/wiki/MockingToolkitComparisonMatrix.&lt;br /&gt;&lt;br /&gt;It includes EasyMock/EasyMock CE, jMock, Mockito, Unitils Mock, PowerMock, and JMockit, and is up-to-date (to the best of my knowledge) as of January 3, 2010.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/8376952464366003673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/8376952464366003673'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1262531849622#c8376952464366003673' title=''/><author><name>Rogerio Liesenfeld</name><uri>http://code.google.com/p/jmockit</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1450951447'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-7337994064469442475</id><published>2009-11-08T10:39:36.850-08:00</published><updated>2009-11-08T10:39:36.850-08:00</updated><title type='text'>Vasily, useful comparison. Thanks. But as Rogerio ...</title><content type='html'>Vasily, useful comparison. Thanks. But as Rogerio mentioned, it will be indeed wise to update the ratings for JMockit as it does not reflect the full potential of the framework</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/7337994064469442475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/7337994064469442475'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1257705576850#c7337994064469442475' title=''/><author><name>Ashvin</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-82502460'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-4266766085892577261</id><published>2009-08-18T14:07:54.810-07:00</published><updated>2009-08-18T14:07:54.810-07:00</updated><title type='text'>Vasily, thank you for this article!</title><content type='html'>Vasily, thank you for this article!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/4266766085892577261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/4266766085892577261'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1250629674810#c4266766085892577261' title=''/><author><name>23derevo</name><uri>http://23derevo.livejournal.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1138807351'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-780602754763321326</id><published>2009-07-08T10:23:09.463-07:00</published><updated>2009-07-08T10:23:09.463-07:00</updated><title type='text'>Another thing about JMockit: somewhat like Unitils...</title><content type='html'>Another thing about JMockit: somewhat like Unitils, it also provides more than mocking APIs.&lt;br /&gt;&lt;br /&gt;Another tool in the JMockit toolkit is &amp;quot;JMockit Coverage&amp;quot;. It aims to provide the functionality of EMMA and Cobertura (with several improvements), in an easier to use and less intrusive way. On top of that, it also provides &amp;quot;incremental test running&amp;quot;, like in the Infinitest IDE plugins. (This tool isn&amp;#39;t complete nor mature at this point, but I expect to evolve it significantly in coming months.)&lt;br /&gt;&lt;br /&gt;Yet another tool is &amp;quot;JMockit Hibernate Emulation&amp;quot;, which provides a fake implementation of the Hibernate 3 API, including HQL. It&amp;#39;s not fully functional yet, mostly due to lack of demand. Plans to extend it to cover JPA exist, but don&amp;#39;t ask me for a schedule right now...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/780602754763321326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/780602754763321326'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1247073789463#c780602754763321326' title=''/><author><name>Rogério Liesenfeld</name><uri>https://jmockit.dev.java.net</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-631164367'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-3125662234534230984</id><published>2009-07-08T10:00:56.734-07:00</published><updated>2009-07-08T10:00:56.734-07:00</updated><title type='text'>Dear Rogério, thank you very much for the great re...</title><content type='html'>Dear Rogério, thank you very much for the great reply!&lt;br /&gt;&lt;br /&gt;I see your web-site has been updated. &lt;br /&gt;And I feel the time to update my comparison matrix has come :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/3125662234534230984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/3125662234534230984'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1247072456734#c3125662234534230984' title=''/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/Sc6hjULvEzI/AAAAAAAAAAM/akz7Eyq4gwU/s1600-R/sizov.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1353294744'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-8525417022429232561</id><published>2009-07-08T09:48:04.898-07:00</published><updated>2009-07-08T09:48:04.898-07:00</updated><title type='text'>Great comparison!

I am the author of the JMockit ...</title><content type='html'>Great comparison!&lt;br /&gt;&lt;br /&gt;I am the author of the JMockit tool.&lt;br /&gt;I notice you only considered the JMockit Annotations API (for state-based testing). There is also the behavior-based alternative, &amp;quot;JMockit Expectations&amp;quot; (which was rather new back in January 2008).&lt;br /&gt;&lt;br /&gt;JMockit has seen huge progress since then.&lt;br /&gt;It now has explicit support for all features in the comparison matrix, except for &amp;quot;thread safety&amp;quot;, which is something I am yet to focus on (it will be done for release 1.0, though). &lt;br /&gt;&lt;br /&gt;Except for SevenMock and rMock, the JMockit full distribution contains sample test suites for comparison with all the other tools, and additionally with the PowerMock tool.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/8525417022429232561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/8525417022429232561'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1247071684898#c8525417022429232561' title=''/><author><name>Rogério Liesenfeld</name><uri>https://jmockit.dev.java.net</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-631164367'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-4785996495796949588</id><published>2009-07-08T04:47:35.018-07:00</published><updated>2009-07-08T04:47:35.018-07:00</updated><title type='text'>one word, PowerMock!</title><content type='html'>one word, PowerMock!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/4785996495796949588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/4785996495796949588'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1247053655018#c4785996495796949588' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-502118160'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-1037983302946483664</id><published>2009-07-08T03:20:18.227-07:00</published><updated>2009-07-08T03:20:18.227-07:00</updated><title type='text'>Dear bmajsak, thanks for the valuable addition! I&amp;...</title><content type='html'>Dear bmajsak, thanks for the valuable addition! I&amp;#39;ll check it out!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/1037983302946483664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/1037983302946483664'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1247048418227#c1037983302946483664' title=''/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/Sc6hjULvEzI/AAAAAAAAAAM/akz7Eyq4gwU/s1600-R/sizov.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1353294744'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-4522802759972864861</id><published>2009-07-08T03:08:37.617-07:00</published><updated>2009-07-08T03:08:37.617-07:00</updated><title type='text'>There is also quite interesting tool http://code.g...</title><content type='html'>There is also quite interesting tool http://code.google.com/p/powermock/ which could be based on top of EasyMock or Mockito. &lt;br /&gt;&lt;br /&gt;Anyway - good article. I&amp;#39;ve added it to dzone.com</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/4522802759972864861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/4522802759972864861'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1247047717617#c4522802759972864861' title=''/><author><name>bmajsak</name><uri>http://www.blogger.com/profile/12572325749091372591</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-254575592'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-6330670129969085342</id><published>2009-06-25T11:54:02.036-07:00</published><updated>2009-06-25T11:54:02.036-07:00</updated><title type='text'>Hi!

I meant that you can implement it in &amp;quot;ma...</title><content type='html'>Hi!&lt;br /&gt;&lt;br /&gt;I meant that you can implement it in &amp;quot;manual&amp;quot; way. The example which demonstrates the idea:&lt;br /&gt;&lt;br /&gt;@MockClass(realClass = MyClassToTest.class)&lt;br /&gt;public static class MyClassToTestMock {&lt;br /&gt;    public static List&amp;lt;String&amp;gt; values = Arrays.asList(&amp;quot;firstValue&amp;quot;, &amp;quot;secondValue&amp;quot;, &amp;quot;thirdValue&amp;quot;);&lt;br /&gt;&lt;br /&gt;    public static int invocationIndex;&lt;br /&gt;&lt;br /&gt;    @Mock(invocations = 3)&lt;br /&gt;    public String getSomething() {&lt;br /&gt;        String result = values.get(invocationIndex);&lt;br /&gt;        invocationIndex++;&lt;br /&gt;        &lt;br /&gt;        return result;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I hope the idea is clear. I haven&amp;#39;t tried it by myself, but I think it will work for you. Of course, you can implement some util class to make the code much pretty.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/6330670129969085342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/6330670129969085342'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1245956042036#c6330670129969085342' title=''/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/Sc6hjULvEzI/AAAAAAAAAAM/akz7Eyq4gwU/s1600-R/sizov.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1353294744'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-7629413452792640335</id><published>2009-06-25T07:33:17.689-07:00</published><updated>2009-06-25T07:33:17.689-07:00</updated><title type='text'>I would like to know what you meant by saying that...</title><content type='html'>I would like to know what you meant by saying that the &amp;quot;Iterator-style stubbing&amp;quot; can be implemented in JMockit Framework. This feature can be implemented theoretically by any framework, so what is special in in JMockit ? I am asking since I need it, so if you could tell how to implement it there it would be very helpfull.&lt;br /&gt;Also, I must add, JMockit is VERY powerfull</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/7629413452792640335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/7629413452792640335'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1245940397689#c7629413452792640335' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-94022239'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-5738009168668994363</id><published>2009-06-20T05:07:22.602-07:00</published><updated>2009-06-20T05:07:22.602-07:00</updated><title type='text'>2 Henri,

Thanks for the addition!
EasyMock 2.5 ha...</title><content type='html'>2 Henri,&lt;br /&gt;&lt;br /&gt;Thanks for the addition!&lt;br /&gt;EasyMock 2.5 has been released 2009-05-24.&lt;br /&gt;&lt;br /&gt;In the near future I&amp;#39;m going to update the page with the fresh data.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/5738009168668994363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/5738009168668994363'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1245499642602#c5738009168668994363' title=''/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/Sc6hjULvEzI/AAAAAAAAAAM/akz7Eyq4gwU/s1600-R/sizov.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1353294744'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-2629414045850660117</id><published>2009-06-20T05:02:46.856-07:00</published><updated>2009-06-20T05:02:46.856-07:00</updated><title type='text'>2 Anonymous:
&amp;gt;&amp;gt; Have you checked https://moc...</title><content type='html'>2 Anonymous:&lt;br /&gt;&amp;gt;&amp;gt; Have you checked https://mocquer.dev.java.net/ ?&lt;br /&gt;Unfortunately I&amp;#39;ve overlooked it... Looks very similar to EasyMock.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/2629414045850660117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/2629414045850660117'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1245499366856#c2629414045850660117' title=''/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/Sc6hjULvEzI/AAAAAAAAAAM/akz7Eyq4gwU/s1600-R/sizov.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1353294744'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-2924269794499690463</id><published>2009-06-20T04:19:46.576-07:00</published><updated>2009-06-20T04:19:46.576-07:00</updated><title type='text'>Hi,

In EasyMock 2.5, you can do the Real Object s...</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;In EasyMock 2.5, you can do the Real Object spy using andDelegateTo.&lt;br /&gt;&lt;br /&gt;Also nother framework called Powermock is based on EasyMock and tries to workaround final and private limitations.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/2924269794499690463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/2924269794499690463'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1245496786576#c2924269794499690463' title=''/><author><name>Henri</name><uri>http://www.ossia-conseil.com/blog/henri</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-818024423'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-7541643857455823997</id><published>2009-06-18T07:46:48.506-07:00</published><updated>2009-06-18T07:46:48.506-07:00</updated><title type='text'>Interesting.

Have you checked https://mocquer.dev...</title><content type='html'>Interesting.&lt;br /&gt;&lt;br /&gt;Have you checked https://mocquer.dev.java.net/ ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/7541643857455823997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/7541643857455823997'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1245336408506#c7541643857455823997' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-525991127'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-5240014123735020863</id><published>2009-04-07T03:09:00.000-07:00</published><updated>2009-04-07T03:09:00.000-07:00</updated><title type='text'>You're right, thread-safety is implemented in rece...</title><content type='html'>You're right, thread-safety is implemented in recent version (2.7): http://jira.codehaus.org/browse/JMOCK-213, but this version is not released yet.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/5240014123735020863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/5240014123735020863'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1239098940000#c5240014123735020863' title=''/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/Sc6hjULvEzI/AAAAAAAAAAM/akz7Eyq4gwU/s1600-R/sizov.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1353294744'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-6981277760394472747</id><published>2009-04-04T14:51:00.000-07:00</published><updated>2009-04-04T14:51:00.000-07:00</updated><title type='text'>Thanks for the info! I'll check it!</title><content type='html'>Thanks for the info! I'll check it!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/6981277760394472747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/6981277760394472747'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1238881860000#c6981277760394472747' title=''/><author><name>Vasily Sizov</name><uri>http://www.blogger.com/profile/16643174994746969827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_SAqQlE5FaX8/Sc6hjULvEzI/AAAAAAAAAAM/akz7Eyq4gwU/s1600-R/sizov.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1353294744'/></entry><entry><id>tag:blogger.com,1999:blog-7975659226227918166.post-10097744555540323</id><published>2009-04-04T10:09:00.000-07:00</published><updated>2009-04-04T10:09:00.000-07:00</updated><title type='text'>Jmock n ow has lots of features for thread safety ...</title><content type='html'>Jmock n ow has lots of features for thread safety and testing multithreaded code. It also has always had features (e.g. actions, state-machines, tracing) that are not in your list, so I don't see how you can say it has no more features than easyMock.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/10097744555540323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975659226227918166/3458745773974580853/comments/default/10097744555540323'/><link rel='alternate' type='text/html' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html?showComment=1238864940000#c10097744555540323' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.sizovpoint.com/2009/03/java-mock-frameworks-comparison.html' ref='tag:blogger.com,1999:blog-7975659226227918166.post-3458745773974580853' source='http://www.blogger.com/feeds/7975659226227918166/posts/default/3458745773974580853' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1287491979'/></entry></feed>
