File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Original Void Method is called when using Mockito.doNothing
Joined: Dec 21, 2009
Mar 27, 2013 10:46:34
I am new to
Testing.I have a void DB call which i need to mock.
In the method i need to
DBTester db = new DBTester();
DBTester mockobj = Mockito.mock(DBTester.class);
In have added in the annotation
But it hits the original DB Call.Can someone please throw light on where i am going wrong
Thanks in advance
subject: Original Void Method is called when using Mockito.doNothing
Help! Question on converting String to BigInteger
Need help with RSA Encryption
BigInteger and multiplying
DBTester and DBTestRunner in Max's book
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015