Package org.mockito

Mockito is a mock library for java - see Mockito class for for usage.

See:
          Description

Interface Summary
BDDMockito.BDDMyOngoingStubbing<T> See original OngoingStubbing
BDDMockito.BDDStubber See original Stubber
InOrder Allows verification in order.
MockSettings Allows mock creation with additional mock settings.
ReturnValues Deprecated. Instead, please use Answer interface
 

Class Summary
AdditionalMatchers See Matchers for general info about matchers.
ArgumentCaptor<T> Use it to capture argument values for further assertions.
ArgumentMatcher<T> Allows creating customized argument matchers.
BDDMockito Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
BDDMockito.BDDOngoingStubbingImpl<T>  
BDDMockito.BDDStubberImpl  
Matchers Allow flexible verification or stubbing.
Mockito

MockitoAnnotations Allows shorthand mock creation. Minimizes repetitive mock creation code. Makes the test class more readable. Makes the verification error easier to read because field name is used to identify the mock.
 

Annotation Types Summary
Mock Allows shorthand mock creation. Minimizes repetitive mock creation code. Makes the test class more readable. Makes the verification error easier to read because the field name is used to identify the mock.
MockitoAnnotations.Mock Deprecated.
 

Package org.mockito Description

Mockito is a mock library for java - see Mockito class for for usage.