|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
MockitoAnnotations.Mock,
Mock or MockitoAnnotations.Mock have mock objects created for them
and injected to the fields.Answer.
Mockito.when(Object).
MethodInvocationControl interface.InjectingAnnotationEngine with the exception that it
doesn't create/injects mocks annotated with the standard annotations such as
Mock.SpyAnnotationEngine but it uses
PowerMockito.spy(Object) instead.MatchersBinder with the exception that
the InvocationMatcher is replaced and its toString method is overwritten to avoid exceptions.MockAwareVerificationMode for static method
verification.Mockito.when(Object) method.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||