Pages

Saturday, October 04, 2008

Updated my Mockito example

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

4 comments:

  1. 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.

    ReplyDelete
  2. Thanks for the update. I'll have to take a look at Mockito 1.6 here soon.

    ReplyDelete
  3. Its raelly fantastic blog post,Thank you.
    visit
    Bridal Jewellery for Rent in Bangalore

    ReplyDelete
  4. Great post, thanks

    abhiram astrology center. Best indian Astrologer In bancroft

    ReplyDelete