Mockito 2.2.7 API
A B C D E F G H I L M N O P R S T U V W 

G

geq(T) - Static method in class org.mockito.AdditionalMatchers
argument greater than or equal the given value.
geq(byte) - Static method in class org.mockito.AdditionalMatchers
byte argument greater than or equal to the given value.
geq(double) - Static method in class org.mockito.AdditionalMatchers
double argument greater than or equal to the given value.
geq(float) - Static method in class org.mockito.AdditionalMatchers
float argument greater than or equal to the given value.
geq(int) - Static method in class org.mockito.AdditionalMatchers
int argument greater than or equal to the given value.
geq(long) - Static method in class org.mockito.AdditionalMatchers
long argument greater than or equal to the given value.
geq(short) - Static method in class org.mockito.AdditionalMatchers
short argument greater than or equal to the given value.
get() - Method in enum org.mockito.Answers
Deprecated.
as of 2.1.0 Use the enum-constant directly, instead of this getter. This method will be removed in a future release
E.g. instead of Answers.CALLS_REAL_METHODS.get() use Answers.CALLS_REAL_METHODS .
getAllValues() - Method in class org.mockito.ArgumentCaptor
Returns all captured values.
getAnnotationEngine() - Method in class org.mockito.configuration.DefaultMockitoConfiguration
 
getAnnotationEngine() - Method in interface org.mockito.configuration.IMockitoConfiguration
Configures annotations for mocks
getArgument(int) - Method in interface org.mockito.invocation.InvocationOnMock
Returns casted argument at the given index
getArguments() - Method in interface org.mockito.invocation.InvocationOnMock
returns arguments passed to the method
getDefaultAnswer() - Method in class org.mockito.configuration.DefaultMockitoConfiguration
 
getDefaultAnswer() - Method in interface org.mockito.configuration.IMockitoConfiguration
Allows configuring the default answers of unstubbed invocations
getDefaultAnswer() - Method in interface org.mockito.mock.MockCreationSettings
the default answer for this mock, see MockSettings.defaultAnswer(org.mockito.stubbing.Answer).
getDescription() - Method in class org.mockito.runners.ConsoleSpammingMockitoJUnitRunner
Deprecated.
 
getDescription() - Method in class org.mockito.runners.MockitoJUnitRunner
 
getDescription() - Method in class org.mockito.runners.VerboseMockitoJUnitRunner
Deprecated.
 
getExtraInterfaces() - Method in interface org.mockito.mock.MockCreationSettings
the extra interfaces the mock object should implement.
getHandler(Object) - Method in interface org.mockito.plugins.MockMaker
Returns the handler for the mock.
getInstantiator(MockCreationSettings<?>) - Method in interface org.mockito.plugins.InstantiatorProvider
Returns an instantiator, used to create new class instances.
getInvocation() - Method in interface org.mockito.listeners.MethodInvocationReport
 
getInvocation() - Method in interface org.mockito.stubbing.Stubbing
Returns the method invocation that is stubbed.
getInvocationListeners() - Method in interface org.mockito.mock.MockCreationSettings
The invocation listeners attached to this mock, see MockSettings.invocationListeners(org.mockito.listeners.InvocationListener...).
getInvocations() - Method in interface org.mockito.MockingDetails
All method invocations on this mock.
getLocation() - Method in interface org.mockito.invocation.DescribedInvocation
The place in the code where the invocation happened.
getLocation() - Method in interface org.mockito.invocation.Invocation
 
getLocationOfStubbing() - Method in interface org.mockito.listeners.MethodInvocationReport
 
getMessage() - Method in error org.mockito.exceptions.verification.junit.ArgumentsAreDifferent
 
getMethod() - Method in interface org.mockito.invocation.InvocationOnMock
returns the method
getMock() - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
See original getMock()
getMock() - Method in interface org.mockito.invocation.InvocationOnMock
returns the mock object
getMock() - Method in interface org.mockito.stubbing.OngoingStubbing
Returns the mock that was used for this stub.
getMockCreationSettings() - Method in interface org.mockito.MockingDetails
Returns various mock settings provided when the mock was created, for example: mocked class, mock name (if any), any extra interfaces (if any), etc.
getMockName() - Method in interface org.mockito.mock.MockCreationSettings
the name of this mock, as printed on verification errors; see MockSettings.name(java.lang.String).
getOuterClassInstance() - Method in interface org.mockito.mock.MockCreationSettings
Used when mocking non-static inner classes in conjunction with MockCreationSettings.isUsingConstructor()
getRawArguments() - Method in interface org.mockito.invocation.Invocation
Returns unprocessed arguments whereas InvocationOnMock.getArguments() returns arguments already processed (e.g.
getRawReturnType() - Method in interface org.mockito.invocation.Invocation
Returns unprocessed arguments whereas InvocationOnMock.getArguments() returns arguments already processed (e.g.
getReturnedValue() - Method in interface org.mockito.listeners.MethodInvocationReport
 
getSequenceNumber() - Method in interface org.mockito.invocation.Invocation
 
getSerializableMode() - Method in interface org.mockito.mock.MockCreationSettings
 
getSpiedInstance() - Method in interface org.mockito.mock.MockCreationSettings
the spied instance - needed for spies.
getStackTraceCleaner(StackTraceCleaner) - Method in interface org.mockito.plugins.StackTraceCleanerProvider
Allows configuring custom StackTraceCleaner.
getStubbings() - Method in interface org.mockito.MockingDetails
Returns stubbings declared on this mock object.
getThrowable() - Method in interface org.mockito.listeners.MethodInvocationReport
 
getTypeToMock() - Method in interface org.mockito.mock.MockCreationSettings
Mocked type.
getUnfilteredStackTrace() - Method in error org.mockito.exceptions.base.MockitoAssertionError
 
getUnfilteredStackTrace() - Method in exception org.mockito.exceptions.base.MockitoException
 
getUnfilteredStackTrace() - Method in exception org.mockito.exceptions.base.MockitoSerializationIssue
 
getUnfilteredStackTrace() - Method in error org.mockito.exceptions.verification.junit.ArgumentsAreDifferent
 
getValue() - Method in class org.mockito.ArgumentCaptor
Returns the captured value of the argument.
given(T) - Method in interface org.mockito.BDDMockito.BDDStubber
given(T) - Static method in class org.mockito.BDDMockito
gt(T) - Static method in class org.mockito.AdditionalMatchers
comparable argument greater than the given value.
gt(byte) - Static method in class org.mockito.AdditionalMatchers
byte argument greater than the given value.
gt(double) - Static method in class org.mockito.AdditionalMatchers
double argument greater than the given value.
gt(float) - Static method in class org.mockito.AdditionalMatchers
float argument greater than the given value.
gt(int) - Static method in class org.mockito.AdditionalMatchers
int argument greater than the given value.
gt(long) - Static method in class org.mockito.AdditionalMatchers
long argument greater than the given value.
gt(short) - Static method in class org.mockito.AdditionalMatchers
short argument greater than the given value.
A B C D E F G H I L M N O P R S T U V W 
Mockito 2.2.7 API