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

I

ignoreForVerification() - Method in interface org.mockito.invocation.Invocation
Configures this invocation to be ignored for verify-no-more-invocations or verification in order.
ignoreStubs(Object...) - Static method in class org.mockito.Mockito
Ignores stubbed methods of given mocks for the sake of verification.
IMockitoConfiguration - Interface in org.mockito.configuration
Use it to configure Mockito.
Incubating - Annotation Type in org.mockito
The annotation conveys following information: The API is fairly new and we would appreciate your feedback.
initMocks(Object) - Static method in class org.mockito.MockitoAnnotations
Deprecated.
Use MockitoAnnotations.openMocks(Object) instead. This method is equivalent to openMocks(testClass).close(). The close method should however only be called after completed usage of testClass. If using static-mocks or custom MockMakers, using this method might cause misbehavior of mocks injected into the test class.
initMocks(Object) - Method in interface org.mockito.session.MockitoSessionBuilder
Adds the test class instance for initialization of fields annotated with Mockito annotations like Mock.
initMocks(Object...) - Method in interface org.mockito.session.MockitoSessionBuilder
Adds the test class instances for initialization of fields annotated with Mockito annotations like Mock.
InjectionBase - Class in org.mockito.codegen
This class is required to resolve a method handle lookup for the org.mockito.codegen package what requires a preexisting class for the package.
InjectMocks - Annotation Type in org.mockito
Mark a field on which injection should be performed.
InjectMocksException - Exception in org.mockito.exceptions.misusing
Thrown when creation of test subject annotated with InjectMocks fails.
InjectMocksException(String, Throwable) - Constructor for exception org.mockito.exceptions.misusing.InjectMocksException
 
INLINE - Static variable in class org.mockito.MockMakers
Inline mock maker which can mock final types, enums and final methods.
InlineMockMaker - Interface in org.mockito.plugins
Extension to MockMaker for mock makers that changes inline method implementations and need keep track of created mock objects.
inOrder(Object...) - Static method in class org.mockito.Mockito
Creates InOrder object that allows verifying mocks in order.
InOrder - Interface in org.mockito
Allows verification in order.
InstantiationException - Exception in org.mockito.creation.instance
Exception generated when Instantiator.newInstance(Class) failed.
InstantiationException(String) - Constructor for exception org.mockito.creation.instance.InstantiationException
 
InstantiationException(String, Throwable) - Constructor for exception org.mockito.creation.instance.InstantiationException
 
Instantiator - Interface in org.mockito.creation.instance
Provides instances of classes.
InstantiatorProvider2 - Interface in org.mockito.plugins
Mockito will invoke this interface in order to fetch an instance instantiator provider.
intThat(Matcher<Integer>) - Static method in class org.mockito.hamcrest.MockitoHamcrest
Enables integrating hamcrest matchers that match primitive int arguments.
intThat(ArgumentMatcher<Integer>) - Static method in class org.mockito.ArgumentMatchers
Allows creating custom int argument matchers.
InvalidUseOfMatchersException - Exception in org.mockito.exceptions.misusing
 
InvalidUseOfMatchersException() - Constructor for exception org.mockito.exceptions.misusing.InvalidUseOfMatchersException
 
InvalidUseOfMatchersException(String) - Constructor for exception org.mockito.exceptions.misusing.InvalidUseOfMatchersException
 
Invocation - Interface in org.mockito.invocation
A method call on a mock object.
InvocationContainer - Interface in org.mockito.invocation
Although this class is a part of public API, please don't provide your own implementations.
InvocationFactory - Interface in org.mockito.invocation
InvocationFactory.RealMethodBehavior<R> - Interface in org.mockito.invocation
Behavior of the real method.
InvocationListener - Interface in org.mockito.listeners
This listener can be notified of method invocations on a mock.
invocationListeners(InvocationListener...) - Method in interface org.mockito.MockSettings
Registers a listener for method invocations on this mock.
InvocationOnMock - Interface in org.mockito.invocation
An invocation on a mock.
invoke(Method, Object, Object...) - Method in interface org.mockito.plugins.MemberAccessor
 
invoke(MemberAccessor.ConstructionDispatcher) - Method in interface org.mockito.plugins.MemberAccessor.OnConstruction
 
isA(Class<T>) - Static method in class org.mockito.ArgumentMatchers
Object argument that implements the given class.
isClosed() - Method in interface org.mockito.ScopedMock
Checks if this mock is closed.
isDefault() - Method in interface org.mockito.mock.MockName
default name means generated by Mockito.
isEnabled(String) - Method in interface org.mockito.plugins.PluginSwitch
Mockito invokes this method for every plugin found in the classpath (except from the PluginSwitch implementation itself).
isIgnoredForVerification() - Method in interface org.mockito.invocation.Invocation
Informs if the invocation participates in verify-no-more-invocations or verification in order.
isIn(StackTraceElement) - Method in interface org.mockito.exceptions.stacktrace.StackTraceCleaner
Decides if element is included.
isIn(StackTraceCleaner.StackFrameMetadata) - Method in interface org.mockito.exceptions.stacktrace.StackTraceCleaner
It's recommended to override this method in subclasses to avoid potentially costly re-boxing operations.
isLenient() - Method in interface org.mockito.mock.MockCreationSettings
Deprecated.
Use MockCreationSettings.getStrictness() instead. Informs if the mock was created with "lenient" strictness, e.g. having Strictness.LENIENT characteristic. For more information about using mocks with lenient strictness, see MockSettings.lenient().
isMock() - Method in interface org.mockito.MockingDetails
Informs if the object is a mock.
isNotNull() - Static method in class org.mockito.ArgumentMatchers
Not null argument.
isNull() - Static method in class org.mockito.ArgumentMatchers
null argument.
isSerializable() - Method in interface org.mockito.mock.MockCreationSettings
if the mock is serializable, see MockSettings.serializable().
isSpy() - Method in interface org.mockito.MockingDetails
Informs if the object is a spy.
isStripAnnotations() - Method in interface org.mockito.mock.MockCreationSettings
Whether the mock should not make a best effort to preserve annotations.
isStubOnly() - Method in interface org.mockito.mock.MockCreationSettings
Whether the mock is only for stubbing, i.e.
isTypeMockable(Class<?>) - Method in interface org.mockito.plugins.MockMaker
Indicates if the given type can be mocked by this mockmaker.
isUsingConstructor() - Method in interface org.mockito.mock.MockCreationSettings
Informs whether the mock instance should be created via constructor
isVerified() - Method in interface org.mockito.invocation.Invocation
 
A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages