A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages

T

testRule(Object) - Static method in class org.mockito.junit.MockitoJUnit
Creates a rule instance that initiates @Mocks and is a TestRule.
then(Answer<?>) - Method in interface org.mockito.stubbing.OngoingStubbing
Sets a generic Answer for the method.
then(T) - Static method in class org.mockito.BDDMockito
Bdd style verification of mock behavior.
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(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.
thenThrow(Throwable...) - Method in interface org.mockito.stubbing.OngoingStubbing
Sets Throwable objects 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
Verification will be triggered over and over until the given amount of millis, allowing testing of async code.
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
TooFewActualInvocations - Error in org.mockito.exceptions.verification
 
TooFewActualInvocations(String) - Constructor for error org.mockito.exceptions.verification.TooFewActualInvocations
 
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.junit.ArgumentsAreDifferent
 
toString() - Method in error org.mockito.exceptions.verification.opentest4j.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
Human readable location in the source code, see Invocation.getLocation()
toString() - Method in interface org.mockito.mock.MockName
the name
toString() - Method in class org.mockito.verification.After
 
toString() - Method in class org.mockito.verification.Timeout
 
A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages