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

M

markStubbed(StubInfo) - Method in interface org.mockito.invocation.Invocation
Marks this invocation as stubbed.
markVerified() - Method in interface org.mockito.invocation.Invocation
Marks this invocation as verified so that it will not cause verification error at Mockito.verifyNoMoreInteractions(Object...)
Matchers - Class in org.mockito
Allow flexible verification or stubbing.
Matchers() - Constructor for class org.mockito.Matchers
 
matches(T) - Method in interface org.mockito.ArgumentMatcher
Informs if this matcher accepts the given argument.
matches(String) - Static method in class org.mockito.Matchers
String argument that matches the given regular expression.
maybeVerifyLazily(VerificationMode) - Method in interface org.mockito.verification.VerificationStrategy
Possibly wrap the given VerificationMode and return a wrapping VerificationMode instead.
MethodInvocationReport - Interface in org.mockito.listeners
Represent a method call on a mock.
misplacedArgumentMatcher(List<LocalizedMatcher>) - Static method in class org.mockito.exceptions.Reporter
 
missingMethodInvocation() - Static method in class org.mockito.exceptions.Reporter
 
MissingMethodInvocationException - Exception in org.mockito.exceptions.misusing
 
MissingMethodInvocationException(String) - Constructor for exception org.mockito.exceptions.misusing.MissingMethodInvocationException
 
Mock - Annotation Type in org.mockito
Mark a field as a mock.
mock(Class<T>) - Static method in class org.mockito.Mockito
Creates mock object of given class or interface.
mock(Class<T>, String) - Static method in class org.mockito.Mockito
Specifies mock name.
mock(Class<T>, Answer) - Static method in class org.mockito.Mockito
Creates mock with a specified strategy for its answers to interactions.
mock(Class<T>, MockSettings) - Static method in class org.mockito.Mockito
Creates a mock with some non-standard settings.
mockable() - Method in interface org.mockito.plugins.MockMaker.TypeMockability
informs if type is mockable
MockCreationSettings<T> - Interface in org.mockito.mock
Informs about the mock settings.
mockedTypeIsInconsistentWithDelegatedInstanceType(Class<?>, Object) - Static method in class org.mockito.exceptions.Reporter
 
mockedTypeIsInconsistentWithSpiedInstanceType(Class<?>, Object) - Static method in class org.mockito.exceptions.Reporter
 
MockHandler - Interface in org.mockito.invocation
Mockito handler of an invocation on a mock.
MockingDetails - Interface in org.mockito
Provides mocking information.
mockingDetails(Object) - Static method in class org.mockito.Mockito
Returns a MockingDetails instance that enables inspecting a particular object for Mockito related information.
Mockito - Class in org.mockito

Mockito logo

Mockito() - Constructor for class org.mockito.Mockito
 
MockitoAnnotations - Class in org.mockito
MockitoAnnotations.initMocks(this); initializes fields annotated with Mockito annotations.
MockitoAnnotations() - Constructor for class org.mockito.MockitoAnnotations
 
MockitoAssertionError - Error in org.mockito.exceptions.base
 
MockitoAssertionError(String) - Constructor for error org.mockito.exceptions.base.MockitoAssertionError
 
MockitoAssertionError(MockitoAssertionError, String) - Constructor for error org.mockito.exceptions.base.MockitoAssertionError
Creates a copy of the given assertion error with the custom failure message prepended.
MockitoConfigurationException - Exception in org.mockito.exceptions.misusing
 
MockitoConfigurationException(String) - Constructor for exception org.mockito.exceptions.misusing.MockitoConfigurationException
 
MockitoConfigurationException(String, Exception) - Constructor for exception org.mockito.exceptions.misusing.MockitoConfigurationException
 
MockitoDebugger - Interface in org.mockito
 
MockitoException - Exception in org.mockito.exceptions.base
Raised by mockito to emit an error either due to Mockito, or due to the User.
MockitoException(String, Throwable) - Constructor for exception org.mockito.exceptions.base.MockitoException
 
MockitoException(String) - Constructor for exception org.mockito.exceptions.base.MockitoException
 
MockitoHamcrest - Class in org.mockito.hamcrest
Allows matching arguments with hamcrest matchers.
MockitoHamcrest() - Constructor for class org.mockito.hamcrest.MockitoHamcrest
 
MockitoJUnit - Class in org.mockito.junit
The JUnit rule can be used instead of MockitoJUnitRunner.
MockitoJUnit() - Constructor for class org.mockito.junit.MockitoJUnit
 
MockitoJUnitRunner - Class in org.mockito.runners
Compatible with JUnit 4.4 and higher, this runner adds following behavior: Initializes mocks annotated with Mock, so that explicit usage of MockitoAnnotations.initMocks(Object) is not necessary.
MockitoJUnitRunner(Class<?>) - Constructor for class org.mockito.runners.MockitoJUnitRunner
 
MockitoRule - Interface in org.mockito.junit
The JUnit rule can be used instead of MockitoJUnitRunner.
MockitoSerializationIssue - Exception in org.mockito.exceptions.base
Raised by mockito to emit an error either due to Mockito, or due to the User.
MockitoSerializationIssue(String, Exception) - Constructor for exception org.mockito.exceptions.base.MockitoSerializationIssue
 
MockMaker - Interface in org.mockito.plugins
The facility to create mocks.
MockMaker.TypeMockability - Interface in org.mockito.plugins
Carries the mockability information
MockName - Interface in org.mockito.mock
Represents the name of the mock as shown in the verification failure reports, etc.
MockSettings - Interface in org.mockito
Allows mock creation with additional mock settings.
mocksHaveToBePassedToVerifyNoMoreInteractions() - Static method in class org.mockito.exceptions.Reporter
 
mocksHaveToBePassedWhenCreatingInOrder() - Static method in class org.mockito.exceptions.Reporter
 
moreThanOneAnnotationNotAllowed(String) - Static method in class org.mockito.exceptions.Reporter
 
A B C D E F G H I L M N O P R S T U V W 
Mockito 2.0.84-beta API