SyntaxFix
Write A Post
Hire A Developer
Questions
Use like this:
when( fooDao.getBar( Matchers.<Bazoo>any() ) ).thenReturn(myFoo);
Before you need to import Mockito.Matchers
Mockito.Matchers