- GenericMaster - Class in org.mockito.internal.util.reflection
-
- GenericMaster() - Constructor for class org.mockito.internal.util.reflection.GenericMaster
-
- GenericMetadataSupport - Class in org.mockito.internal.util.reflection
-
This class can retrieve generic meta-data that the compiler stores on classes
and accessible members.
- GenericMetadataSupport() - Constructor for class org.mockito.internal.util.reflection.GenericMetadataSupport
-
- GenericMetadataSupport.BoundedType - Interface in org.mockito.internal.util.reflection
-
Type representing bounds of a type
- GenericMetadataSupport.TypeVarBoundedType - Class in org.mockito.internal.util.reflection
-
Type representing bounds of a type variable, allows to keep all bounds information.
- GenericMetadataSupport.TypeVarBoundedType(TypeVariable) - Constructor for class org.mockito.internal.util.reflection.GenericMetadataSupport.TypeVarBoundedType
-
- GenericMetadataSupport.WildCardBoundedType - Class in org.mockito.internal.util.reflection
-
Type representing bounds of a wildcard, allows to keep all bounds information.
- GenericMetadataSupport.WildCardBoundedType(WildcardType) - Constructor for class org.mockito.internal.util.reflection.GenericMetadataSupport.WildCardBoundedType
-
- GenericTypeExtractor - Class in org.mockito.internal.util.reflection
-
Attempts to extract generic type of given target base class or target interface
- GenericTypeExtractor() - Constructor for class org.mockito.internal.util.reflection.GenericTypeExtractor
-
- genericTypeOf(Class<?>, Class<?>, Class<?>) - Static method in class org.mockito.internal.util.reflection.GenericTypeExtractor
-
Extract generic type of root class either from the target base class or from target base interface.
- genericTypeOfMatcher(Class<?>) - Static method in class org.mockito.internal.hamcrest.MatcherGenericTypeExtractor
-
Gets the generic type of given matcher.
- geq(Comparable<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 class org.mockito.internal.util.collections.HashCodeAndEqualsMockWrapper
-
- getActual() - Method in class org.mockito.internal.reporting.SmartPrinter
-
- getActualCount() - Method in class org.mockito.internal.reporting.Discrepancy
-
- getActualTypeArgumentFor(TypeVariable) - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport
-
- getAll() - Method in class org.mockito.internal.verification.DefaultRegisteredInvocations
-
- getAll() - Method in interface org.mockito.internal.verification.RegisteredInvocations
-
- getAll() - Method in class org.mockito.internal.verification.SingleRegisteredInvocation
-
- getAllInvocations() - Method in interface org.mockito.internal.verification.api.VerificationData
-
- getAllInvocations() - Method in interface org.mockito.internal.verification.api.VerificationDataInOrder
-
- getAllInvocations() - Method in class org.mockito.internal.verification.api.VerificationDataInOrderImpl
-
- getAllInvocations() - Method in class org.mockito.internal.verification.VerificationDataImpl
-
- getAllValues() - Method in class org.mockito.ArgumentCaptor
-
Returns all captured values.
- getAllValues() - Method in class org.mockito.internal.matchers.CapturingMatcher
-
- getAllVarargs() - Method in class org.mockito.internal.matchers.VarargCapturingMatcher
-
- getAnnotationEngine() - Method in class org.mockito.configuration.DefaultMockitoConfiguration
-
- getAnnotationEngine() - Method in interface org.mockito.configuration.IMockitoConfiguration
-
Configures annotations for mocks
- getAnnotationEngine() - Method in class org.mockito.internal.configuration.GlobalConfiguration
-
- getArgument(int) - Method in class org.mockito.internal.invocation.InvocationImpl
-
- getArgument(int) - Method in interface org.mockito.invocation.InvocationOnMock
-
Returns casted argument at the given index
- getArgumentMatcherStorage() - Method in interface org.mockito.internal.progress.MockingProgress
-
- getArgumentMatcherStorage() - Method in class org.mockito.internal.progress.MockingProgressImpl
-
- getArgumentMatcherStorage() - Method in class org.mockito.internal.progress.ThreadSafeMockingProgress
-
- getArguments() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- getArguments() - Method in interface org.mockito.invocation.InvocationOnMock
-
returns arguments passed to the method
- getArgumentsBlock(List<ArgumentMatcher>, PrintSettings) - Method in class org.mockito.internal.matchers.text.MatchersPrinter
-
- getArgumentsLine(List<ArgumentMatcher>, PrintSettings) - Method in class org.mockito.internal.matchers.text.MatchersPrinter
-
- 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 class org.mockito.internal.configuration.GlobalConfiguration
-
- getDefaultAnswer() - Method in class org.mockito.internal.creation.MockSettingsImpl
-
- getDefaultAnswer() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- getDefaultAnswer() - Method in interface org.mockito.mock.MockCreationSettings
-
- getDefaultVerificationStrategy() - Static method in class org.mockito.internal.progress.MockingProgressImpl
-
- getDelegate() - Method in class org.mockito.internal.verification.VerificationOverTimeImpl
-
- getDescription() - Method in class org.mockito.internal.runners.JUnit45AndHigherRunnerImpl
-
- getDescription() - Method in interface org.mockito.internal.runners.RunnerImpl
-
- getDescription() - Method in class org.mockito.runners.ConsoleSpammingMockitoJUnitRunner
-
- getDescription() - Method in class org.mockito.runners.MockitoJUnitRunner
-
- getDescription() - Method in class org.mockito.runners.VerboseMockitoJUnitRunner
-
- getExceptionTypes() - Method in class org.mockito.internal.creation.DelegatingMethod
-
- getExceptionTypes() - Method in interface org.mockito.internal.invocation.MockitoMethod
-
- getExceptionTypes() - Method in class org.mockito.internal.invocation.SerializableMethod
-
- getExtraInterfaces() - Method in class org.mockito.internal.creation.MockSettingsImpl
-
- getExtraInterfaces() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- getExtraInterfaces() - Method in class org.mockito.internal.util.DefaultMockingDetails
-
- getExtraInterfaces() - Method in interface org.mockito.mock.MockCreationSettings
-
the extra interfaces the mock object should implement.
- getExtraInterfaces() - Method in interface org.mockito.MockingDetails
-
Returns the extra-interfaces of the mock.
- getGenericType(Field) - Method in class org.mockito.internal.util.reflection.GenericMaster
-
Finds the generic type (parametrized type) of the field.
- getHandler(Object) - Method in class org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker
-
- getHandler(Object) - Method in interface org.mockito.plugins.MockMaker
-
Returns the handler for the mock
.
- getInstantiator(MockCreationSettings<?>) - Method in class org.mockito.internal.creation.instance.DefaultInstantiatorProvider
-
- getInstantiator(MockCreationSettings<?>) - Method in interface org.mockito.plugins.InstantiatorProvider
-
Returns an instantiator, used to create new class instances.
- getInstantiatorProvider() - Static method in class org.mockito.internal.configuration.plugins.Plugins
-
Returns the instantiator provider available for the current runtime.
- getInternalState(Object, String) - Static method in class org.mockito.internal.util.reflection.Whitebox
-
- getInvocation() - Method in class org.mockito.internal.invocation.InvocationMatcher
-
- getInvocation() - Method in class org.mockito.internal.listeners.NotifiedMethodInvocationReport
-
- getInvocation() - Method in interface org.mockito.listeners.MethodInvocationReport
-
- getInvocationContainer() - Method in interface org.mockito.internal.InternalMockHandler
-
- getInvocationForStubbing() - Method in class org.mockito.internal.stubbing.InvocationContainerImpl
-
- getInvocationListeners() - Method in class org.mockito.internal.creation.MockSettingsImpl
-
- getInvocationListeners() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- getInvocationListeners() - Method in interface org.mockito.mock.MockCreationSettings
-
- getInvocations() - Method in interface org.mockito.internal.stubbing.InvocationContainer
-
- getInvocations() - Method in class org.mockito.internal.stubbing.InvocationContainerImpl
-
- getInvocations() - Method in class org.mockito.internal.util.DefaultMockingDetails
-
- getInvocations() - Method in interface org.mockito.MockingDetails
-
Provides a collection of methods indicating the invocations of the object
- getJavaMethod() - Method in class org.mockito.internal.creation.DelegatingMethod
-
- getJavaMethod() - Method in interface org.mockito.internal.invocation.MockitoMethod
-
- getJavaMethod() - Method in class org.mockito.internal.invocation.SerializableMethod
-
- getLastInvocation() - Method in class org.mockito.internal.MockitoCore
-
For testing purposes only.
- getLastLocation(List<Invocation>) - Method in class org.mockito.internal.invocation.InvocationsFinder
-
- getLastValue() - Method in class org.mockito.internal.matchers.CapturingMatcher
-
- getLastVarargs() - Method in class org.mockito.internal.matchers.VarargCapturingMatcher
-
- getLocation() - Method in class org.mockito.internal.debugging.Localized
-
- getLocation() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- getLocation() - Method in class org.mockito.internal.invocation.InvocationMatcher
-
- getLocation() - Method in class org.mockito.internal.matchers.LocalizedMatcher
-
- 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 class org.mockito.internal.listeners.NotifiedMethodInvocationReport
-
- getLocationOfStubbing() - Method in interface org.mockito.listeners.MethodInvocationReport
-
- getLoggedInfo() - Method in class org.mockito.internal.util.SimpleMockitoLogger
-
- getMatcher() - Method in class org.mockito.internal.matchers.LocalizedMatcher
-
- getMatchers() - Method in class org.mockito.internal.invocation.InvocationMatcher
-
- getMessage() - Method in error org.mockito.exceptions.verification.junit.ArgumentsAreDifferent
-
- getMethod() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- getMethod() - Method in class org.mockito.internal.invocation.InvocationMatcher
-
- getMethod() - Method in class org.mockito.internal.stubbing.answers.MethodInfo
-
- getMethod() - Method in interface org.mockito.invocation.InvocationOnMock
-
returns the method
- getMethodName() - Method in class org.mockito.internal.stubbing.answers.MethodInfo
-
- getMock() - Method in interface org.mockito.BDDMockito.BDDMyOngoingStubbing
-
- getMock() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- getMock() - Method in class org.mockito.internal.stubbing.ConsecutiveStubbing
-
- getMock() - Method in class org.mockito.internal.stubbing.OngoingStubbingImpl
-
- getMock() - Method in class org.mockito.internal.verification.MockAwareVerificationMode
-
- 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.
- getMockedType() - Method in class org.mockito.internal.util.DefaultMockingDetails
-
- getMockedType() - Method in interface org.mockito.MockingDetails
-
Returns the type that is mocked.
- getMockHandler() - Method in class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor
-
- getMockHandler(T) - Method in class org.mockito.internal.util.MockUtil
-
- getMockitoInterceptor() - Method in interface org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.MockAccess
-
- getMockMaker() - Static method in class org.mockito.internal.configuration.plugins.Plugins
-
Returns the implementation of the mock maker available for the current runtime.
- getMockName() - Method in class org.mockito.internal.creation.MockSettingsImpl
-
- getMockName() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- getMockName(Object) - Method in class org.mockito.internal.util.MockUtil
-
- getMockName() - Method in interface org.mockito.mock.MockCreationSettings
-
- getMockSettings() - Method in interface org.mockito.internal.InternalMockHandler
-
- getMockSettings(Object) - Method in class org.mockito.internal.util.MockUtil
-
- getMocksToBeVerifiedInOrder() - Method in class org.mockito.internal.InOrderImpl
-
- getName() - Method in class org.mockito.internal.creation.DelegatingMethod
-
- getName() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- getName() - Method in interface org.mockito.internal.invocation.MockitoMethod
-
- getName() - Method in class org.mockito.internal.invocation.SerializableMethod
-
- getName() - Method in class org.mockito.internal.matchers.CompareEqual
-
- getName() - Method in class org.mockito.internal.matchers.CompareTo
-
- getName() - Method in class org.mockito.internal.matchers.GreaterOrEqual
-
- getName() - Method in class org.mockito.internal.matchers.GreaterThan
-
- getName() - Method in class org.mockito.internal.matchers.LessOrEqual
-
- getName() - Method in class org.mockito.internal.matchers.LessThan
-
- getObject() - Method in class org.mockito.internal.debugging.Localized
-
- getOrderingContext() - Method in interface org.mockito.internal.verification.api.VerificationDataInOrder
-
- getOrderingContext() - Method in class org.mockito.internal.verification.api.VerificationDataInOrderImpl
-
- getOuterClassInstance() - Method in class org.mockito.internal.creation.MockSettingsImpl
-
- getOuterClassInstance() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- getOuterClassInstance() - Method in interface org.mockito.mock.MockCreationSettings
-
- getParameterTypes() - Method in class org.mockito.internal.creation.DelegatingMethod
-
- getParameterTypes() - Method in interface org.mockito.internal.invocation.MockitoMethod
-
- getParameterTypes() - Method in class org.mockito.internal.invocation.SerializableMethod
-
- getPluralizedActualCount() - Method in class org.mockito.internal.reporting.Discrepancy
-
- getPluralizedWantedCount() - Method in class org.mockito.internal.reporting.Discrepancy
-
- getPluralizedWantedCount() - Method in class org.mockito.internal.verification.checkers.AtLeastDiscrepancy
-
- getPollingPeriodMillis() - Method in class org.mockito.internal.verification.VerificationOverTimeImpl
-
- getRawArguments() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- getRawArguments() - Method in interface org.mockito.invocation.Invocation
-
- getRawReturnType() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- getRawReturnType() - Method in interface org.mockito.invocation.Invocation
-
- getRegisteredInvocations() - Method in class org.mockito.internal.stubbing.OngoingStubbingImpl
-
- getReturnedValue() - Method in class org.mockito.internal.listeners.NotifiedMethodInvocationReport
-
- getReturnedValue() - Method in interface org.mockito.listeners.MethodInvocationReport
-
- getReturnType() - Method in class org.mockito.internal.creation.DelegatingMethod
-
- getReturnType() - Method in interface org.mockito.internal.invocation.MockitoMethod
-
- getReturnType() - Method in class org.mockito.internal.invocation.SerializableMethod
-
- getReturnType() - Method in class org.mockito.internal.stubbing.answers.Returns
-
- getSequenceNumber() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- getSequenceNumber() - Method in interface org.mockito.invocation.Invocation
-
- getSerializableMode() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- getSerializableMode() - Method in interface org.mockito.mock.MockCreationSettings
-
- getSerializationSupport() - Method in class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor
-
- getSpiedInstance() - Method in class org.mockito.internal.creation.MockSettingsImpl
-
- getSpiedInstance() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- getSpiedInstance() - Method in interface org.mockito.mock.MockCreationSettings
-
the spied instance - needed for spies.
- getStackTraceCleaner(StackTraceCleaner) - Method in class org.mockito.internal.exceptions.stacktrace.DefaultStackTraceCleanerProvider
-
- getStackTraceCleaner(StackTraceCleaner) - Method in interface org.mockito.plugins.StackTraceCleanerProvider
-
Allows configuring custom StackTraceCleaner.
- getStackTraceCleanerProvider() - Static method in class org.mockito.internal.configuration.plugins.Plugins
-
The implementation of the stack trace cleaner
- getStubbedInvocations() - Method in interface org.mockito.internal.stubbing.InvocationContainer
-
- getStubbedInvocations() - Method in class org.mockito.internal.stubbing.InvocationContainerImpl
-
- getStubbingInfo() - Method in class org.mockito.internal.debugging.LoggingListener
-
- getSuspiciouslyNotMatchingArgsIndexes(List<ArgumentMatcher>, Object[]) - Method in class org.mockito.internal.verification.argumentmatching.ArgumentMatchingTool
-
Suspiciously not matching arguments are those that don't match, the toString() representation is the same but types are different.
- getThrowable() - Method in class org.mockito.internal.listeners.NotifiedMethodInvocationReport
-
- getThrowable() - Method in class org.mockito.internal.stubbing.answers.ThrowsException
-
- getThrowable() - Method in interface org.mockito.listeners.MethodInvocationReport
-
- getThrowableClass() - Method in class org.mockito.internal.stubbing.answers.ThrowsExceptionClass
-
- getTimer() - Method in class org.mockito.internal.verification.VerificationOverTimeImpl
-
- getTypeToMock() - Method in class org.mockito.internal.creation.MockSettingsImpl
-
- getTypeToMock() - Method in class org.mockito.internal.creation.settings.CreationSettings
-
- 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.
- getWanted() - Method in class org.mockito.internal.matchers.Equals
-
- getWanted() - Method in class org.mockito.internal.reporting.SmartPrinter
-
- getWanted() - Method in interface org.mockito.internal.verification.api.VerificationData
-
- getWanted() - Method in interface org.mockito.internal.verification.api.VerificationDataInOrder
-
- getWanted() - Method in class org.mockito.internal.verification.api.VerificationDataInOrderImpl
-
- getWanted() - Method in class org.mockito.internal.verification.VerificationDataImpl
-
- getWantedCount() - Method in class org.mockito.internal.reporting.Discrepancy
-
- getWarnings() - Method in class org.mockito.internal.debugging.WarningsCollector
-
- given(T) - Method in interface org.mockito.BDDMockito.BDDStubber
-
- given(T) - Static method in class org.mockito.BDDMockito
-
- GlobalConfiguration - Class in org.mockito.internal.configuration
-
Thread-safe wrapper on user-defined org.mockito.configuration.MockitoConfiguration implementation
- GlobalConfiguration() - Constructor for class org.mockito.internal.configuration.GlobalConfiguration
-
- GloballyConfiguredAnswer - Class in org.mockito.internal.stubbing.defaultanswers
-
Globally configured Answer.
- GloballyConfiguredAnswer() - Constructor for class org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer
-
- GreaterOrEqual<T extends Comparable<T>> - Class in org.mockito.internal.matchers
-
- GreaterOrEqual(Comparable<T>) - Constructor for class org.mockito.internal.matchers.GreaterOrEqual
-
- GreaterThan<T extends Comparable<T>> - Class in org.mockito.internal.matchers
-
- GreaterThan(Comparable<T>) - Constructor for class org.mockito.internal.matchers.GreaterThan
-
- gt(Comparable<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.