[OKC JUG] Sorry about today everyone
Brett L. Schuchert
schuchert at yahoo.com
Tue Sep 8 13:04:05 PDT 2009
Good suggestion. If you do that, however, there is not a custom
runner. You still need to add a line to your setup:
MockitoAnnotations.initMocks(this);
Brett
On Sep 8, 2009, at 2:26 PM 9/8/09, Ryan Hoegg wrote:
> I apologize for missing today's meeting, I had an urgent issue on my
> project and couldn't get away. Please go through Brett's mockito
> tutorial, but use:
> @Mock private IAccountRepository accountRepository
>
> instead of
>
> accountRepository = mock(IAccountRepository.class)
>
> See you next month.
>
>
> http://schuchert.wikispaces.com/Mockito.LoginServiceExample
> _______________________________________________
> Jug mailing list
> Jug at lists.okcjug.org
> http://lists.okcjug.org/listinfo.cgi/jug-okcjug.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okcjug.org/pipermail/jug-okcjug.org/attachments/20090908/30e7a3a8/attachment.htm>
More information about the Jug
mailing list