JavaScript is disabled on your browser.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Mockito 2.6.5 API
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
T
then(T)
- Static method in class org.mockito.
BDDMockito
Bdd style verification of mock behavior.
then(Answer<?>)
- Method in interface org.mockito.stubbing.
OngoingStubbing
Sets a generic Answer for the method.
thenAnswer(Answer<?>)
- Method in interface org.mockito.stubbing.
OngoingStubbing
Sets a generic Answer for the method.
thenCallRealMethod()
- Method in interface org.mockito.stubbing.
OngoingStubbing
Sets the real implementation to be called when the method is called on a mock object.
thenReturn(T)
- Method in interface org.mockito.stubbing.
OngoingStubbing
Sets a return value to be returned when the method is called.
thenReturn(T, T...)
- Method in interface org.mockito.stubbing.
OngoingStubbing
Sets consecutive return values to be returned when the method is called.
thenThrow(Throwable...)
- Method in interface org.mockito.stubbing.
OngoingStubbing
Sets Throwable objects to be thrown when the method is called.
thenThrow(Class<? extends Throwable>)
- Method in interface org.mockito.stubbing.
OngoingStubbing
Sets a Throwable type to be thrown when the method is called.
thenThrow(Class<? extends Throwable>, Class<? extends Throwable>...)
- Method in interface org.mockito.stubbing.
OngoingStubbing
Sets Throwable classes to be thrown when the method is called.
threwException()
- Method in interface org.mockito.listeners.
MethodInvocationReport
timeout(long)
- Static method in class org.mockito.
Mockito
Allows verifying with timeout.
Timeout
- Class in
org.mockito.verification
See the javadoc for
VerificationWithTimeout
Timeout(long, VerificationMode)
- Constructor for class org.mockito.verification.
Timeout
See the javadoc for
VerificationWithTimeout
times(int)
- Static method in class org.mockito.
Mockito
Allows verifying exact number of invocations.
times(int)
- Method in interface org.mockito.verification.
VerificationAfterDelay
Verifies that there are exactly N invocations during the given period.
times(int)
- Method in interface org.mockito.verification.
VerificationWithTimeout
Allows verifying exact number of invocations within given timeout
verify(mock, timeout(100).times(2)).someMethod("some arg");
TooLittleActualInvocations
- Error in
org.mockito.exceptions.verification
TooLittleActualInvocations(String)
- Constructor for error org.mockito.exceptions.verification.
TooLittleActualInvocations
TooManyActualInvocations
- Error in
org.mockito.exceptions.verification
TooManyActualInvocations(String)
- Constructor for error org.mockito.exceptions.verification.
TooManyActualInvocations
toString()
- Method in error org.mockito.exceptions.verification.
ArgumentsAreDifferent
toString()
- Method in error org.mockito.exceptions.verification.junit.
ArgumentsAreDifferent
toString()
- Method in error org.mockito.exceptions.verification.
WantedButNotInvoked
toString()
- Method in interface org.mockito.invocation.
DescribedInvocation
Describes the invocation in the human friendly way.
toString()
- Method in interface org.mockito.invocation.
Location
toString()
- Method in interface org.mockito.mock.
MockName
the name
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Mockito 2.6.5 API
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes