Interface | Description |
---|---|
MockedMethod<T> |
A call to a method that should be stubbed / verified.
|
MockedVoidMethod |
A call to a void method that should be stubbed / verified.
|
Class | Description |
---|---|
ExtendedMockito |
Mockito extended with the ability to stub static methods.
|
StaticCapableStubber |
Same as
Stubber but supports settings up stubbing of static methods via
StaticCapableStubber.when(MockedMethod) and StaticCapableStubber.when(MockedVoidMethod) . |
StaticInOrder |
Same as
InOrder but adds the ability to verify static method calls via
StaticInOrder.verify(MockedMethod) , StaticInOrder.verify(MockedVoidMethod) ,
StaticInOrder.verify(MockedMethod, VerificationMode) , and
StaticInOrder.verify(MockedVoidMethod, VerificationMode) . |
StaticMockitoSession |
Same as
MockitoSession but used when static methods are also stubbed. |
StaticMockitoSessionBuilder |
Same as
MockitoSessionBuilder but adds the ability to stub static methods
calls via StaticMockitoSessionBuilder.mockStatic(Class) , StaticMockitoSessionBuilder.mockStatic(Class, Answer) , and
StaticMockitoSessionBuilder.mockStatic(Class, MockSettings) ; |
Annotation Type | Description |
---|---|
UnstableApi |
The API is not a mockito API and there is a chance in might change in future versions.
|