I\'m currently studying the Mockito framework and I\'ve created several test cases using Mockito.
But then I read that instead of invoking mock(SomeClass.class) I c
O.K, I got my mistake!!!
I've used the @InjectMocks but initialized the same variable in the init() method...
So what happened was that mockito injected the mock objects to my variable - but seconds later I ran it over - initializing that very same variable!!!