I updated my Mockito example on my wiki. The example now uses Mockito's annotation support. Cleans up the setup considerably.
http://sites.google.com/a/pintailconsultingllc.com/java/mockito-examples
http://sites.google.com/a/pintailconsultingllc.com/java/mockito-examples
Thanks for the useful example. Things must be moving fast with Mockito development - it seems in your example both Mockito.stub and MockitoAnnotations.Mock are deprecated already in Mockito1.6. Instead, replace with Mockito.when and org.mockito.Mock.
ReplyDeleteThanks for the update. I'll have to take a look at Mockito 1.6 here soon.
ReplyDeleteIts raelly fantastic blog post,Thank you.
ReplyDeletevisit
Bridal Jewellery for Rent in Bangalore
Great post, thanks
ReplyDeleteabhiram astrology center. Best indian Astrologer In bancroft