- markStubbed(StubInfo) - Method in class org.mockito.internal.invocation.InvocationImpl
-
- markStubbed(StubInfo) - Method in interface org.mockito.invocation.Invocation
-
Marks this invocation as stubbed.
- markStubUsed(DescribedInvocation) - Method in class org.mockito.internal.stubbing.StubbedInvocationMatcher
-
- markVerified(Invocation) - Method in class org.mockito.internal.InOrderImpl
-
- markVerified() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- markVerified(List<Invocation>, CapturesArgumentsFromInvocation) - Method in class org.mockito.internal.invocation.InvocationMarker
-
- markVerified(Invocation, CapturesArgumentsFromInvocation) - Method in class org.mockito.internal.invocation.InvocationMarker
-
- markVerified(Invocation) - Method in interface org.mockito.internal.verification.api.InOrderContext
-
- markVerified(Invocation) - Method in class org.mockito.internal.verification.InOrderContextImpl
-
- markVerified() - Method in interface org.mockito.invocation.Invocation
-
- markVerifiedInOrder(List<Invocation>, CapturesArgumentsFromInvocation, InOrderContext) - Method in class org.mockito.internal.invocation.InvocationMarker
-
- MatcherGenericTypeExtractor - Class in org.mockito.internal.hamcrest
-
Extracts generic type of matcher
- MatcherGenericTypeExtractor() - Constructor for class org.mockito.internal.hamcrest.MatcherGenericTypeExtractor
-
- Matchers - Class in org.mockito
-
Allow flexible verification or stubbing.
- Matchers() - Constructor for class org.mockito.Matchers
-
- MatchersBinder - Class in org.mockito.internal.invocation
-
- MatchersBinder() - Constructor for class org.mockito.internal.invocation.MatchersBinder
-
- MatchersPrinter - Class in org.mockito.internal.matchers.text
-
- MatchersPrinter() - Constructor for class org.mockito.internal.matchers.text.MatchersPrinter
-
- matches(Object) - Method in interface org.mockito.ArgumentMatcher
-
Informs if this matcher accepts the given argument.
- matches(Object) - Method in class org.mockito.internal.hamcrest.HamcrestArgumentMatcher
-
- matches(Invocation) - Method in class org.mockito.internal.invocation.InvocationMatcher
-
- matches(Object) - Method in class org.mockito.internal.matchers.And
-
- matches(Object) - Method in class org.mockito.internal.matchers.Any
-
- matches(Object) - Method in class org.mockito.internal.matchers.AnyVararg
-
- matches(Object) - Method in class org.mockito.internal.matchers.apachecommons.ReflectionEquals
-
- matches(Object) - Method in class org.mockito.internal.matchers.ArrayEquals
-
- matches(Object) - Method in class org.mockito.internal.matchers.CapturingMatcher
-
- matches(Object) - Method in class org.mockito.internal.matchers.CompareTo
-
- matches(Object) - Method in class org.mockito.internal.matchers.Contains
-
- matches(Object) - Method in class org.mockito.internal.matchers.EndsWith
-
- matches(Object) - Method in class org.mockito.internal.matchers.Equals
-
- matches(Object) - Method in class org.mockito.internal.matchers.EqualsWithDelta
-
- matches(Object) - Method in class org.mockito.internal.matchers.Find
-
- matches(Object) - Method in class org.mockito.internal.matchers.InstanceOf
-
- Matches - Class in org.mockito.internal.matchers
-
- Matches(String) - Constructor for class org.mockito.internal.matchers.Matches
-
- matches(Object) - Method in class org.mockito.internal.matchers.Matches
-
- matches(Object) - Method in class org.mockito.internal.matchers.Not
-
- matches(Object) - Method in class org.mockito.internal.matchers.NotNull
-
- matches(Object) - Method in class org.mockito.internal.matchers.Null
-
- matches(Object) - Method in class org.mockito.internal.matchers.Or
-
- matches(Object) - Method in class org.mockito.internal.matchers.Same
-
- matches(Object) - Method in class org.mockito.internal.matchers.StartsWith
-
- matches(Object) - Method in class org.mockito.internal.matchers.VarargCapturingMatcher
-
- matches(String) - Static method in class org.mockito.Matchers
-
String
argument that matches the given regular expression.
- matchResult(int) - Method in class org.mockito.internal.matchers.CompareEqual
-
- matchResult(int) - Method in class org.mockito.internal.matchers.CompareTo
-
- matchResult(int) - Method in class org.mockito.internal.matchers.GreaterOrEqual
-
- matchResult(int) - Method in class org.mockito.internal.matchers.GreaterThan
-
- matchResult(int) - Method in class org.mockito.internal.matchers.LessOrEqual
-
- matchResult(int) - Method in class org.mockito.internal.matchers.LessThan
-
- MAX_LINE_LENGTH - Static variable in class org.mockito.internal.reporting.PrintSettings
-
- maybeRedefineMockName(Object, String) - Method in class org.mockito.internal.util.MockUtil
-
- MethodInfo - Class in org.mockito.internal.stubbing.answers
-
by Szczepan Faber, created at: 3/31/12
- MethodInfo(Invocation) - Constructor for class org.mockito.internal.stubbing.answers.MethodInfo
-
- MethodInvocationReport - Interface in org.mockito.listeners
-
Represent a method call on a mock.
- misplacedArgumentMatcher(List<LocalizedMatcher>) - Static method in class org.mockito.exceptions.Reporter
-
- MissingInvocationChecker - Class in org.mockito.internal.verification.checkers
-
- MissingInvocationChecker() - Constructor for class org.mockito.internal.verification.checkers.MissingInvocationChecker
-
- MissingInvocationInOrderChecker - Class in org.mockito.internal.verification.checkers
-
- MissingInvocationInOrderChecker() - Constructor for class org.mockito.internal.verification.checkers.MissingInvocationInOrderChecker
-
- 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(Class<T>, MockSettings) - Method in class org.mockito.internal.MockitoCore
-
- 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
- MockAnnotationProcessor - Class in org.mockito.internal.configuration
-
Instantiates a mock on a field annotated by
Mock
- MockAnnotationProcessor() - Constructor for class org.mockito.internal.configuration.MockAnnotationProcessor
-
- MockAwareVerificationMode - Class in org.mockito.internal.verification
-
- MockAwareVerificationMode(Object, VerificationMode) - Constructor for class org.mockito.internal.verification.MockAwareVerificationMode
-
- MockCandidateFilter - Interface in org.mockito.internal.configuration.injection.filter
-
- MockCreationSettings<T> - Interface in org.mockito.mock
-
Informs about the mock settings.
- MockCreationValidator - Class in org.mockito.internal.util
-
- MockCreationValidator() - Constructor for class org.mockito.internal.util.MockCreationValidator
-
- 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.
- MockHandlerFactory - Class in org.mockito.internal.handler
-
by Szczepan Faber, created at: 5/21/12
- MockHandlerFactory() - Constructor for class org.mockito.internal.handler.MockHandlerFactory
-
- mockingDetails(Object) - Method in class org.mockito.internal.MockitoCore
-
- 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.
- MockingProgress - Interface in org.mockito.internal.progress
-
- MockingProgressImpl - Class in org.mockito.internal.progress
-
- MockingProgressImpl() - Constructor for class org.mockito.internal.progress.MockingProgressImpl
-
- MockingProgressListener - Interface in org.mockito.internal.listeners
-
- mockingStarted(Object, Class) - Method in class org.mockito.internal.listeners.CollectCreatedMocks
-
- mockingStarted(Object, Class) - Method in interface org.mockito.internal.listeners.MockingStartedListener
-
- mockingStarted(Object, Class) - Method in interface org.mockito.internal.progress.MockingProgress
-
- mockingStarted(Object, Class) - Method in class org.mockito.internal.progress.MockingProgressImpl
-
- mockingStarted(Object, Class) - Method in class org.mockito.internal.progress.ThreadSafeMockingProgress
-
- MockingStartedListener - Interface in org.mockito.internal.listeners
-
- MockInjection - Class in org.mockito.internal.configuration.injection
-
Internal injection configuration utility.
- MockInjection() - Constructor for class org.mockito.internal.configuration.injection.MockInjection
-
- MockInjection.OngoingMockInjection - Class in org.mockito.internal.configuration.injection
-
Ongoing configuration of the mock injector.
- MockInjectionStrategy - Class in org.mockito.internal.configuration.injection
-
Injector strategy contract
- MockInjectionStrategy() - Constructor for class org.mockito.internal.configuration.injection.MockInjectionStrategy
-
- Mockito - Class in org.mockito
-
- Mockito() - Constructor for class org.mockito.Mockito
-
- MOCKITO_CONFIGURATION_CLASS_NAME - Static variable in class org.mockito.internal.configuration.ClassPathLoader
-
- 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
-
- MockitoCore - Class in org.mockito.internal
-
- MockitoCore() - Constructor for class org.mockito.internal.MockitoCore
-
- MockitoDebugger - Interface in org.mockito
-
- MockitoDebuggerImpl - Class in org.mockito.internal.debugging
-
- MockitoDebuggerImpl() - Constructor for class org.mockito.internal.debugging.MockitoDebuggerImpl
-
- 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
-
- MockitoJUnit() - Constructor for class org.mockito.junit.MockitoJUnit
-
- MockitoJUnitRunner - Class in org.mockito.runners
-
- MockitoJUnitRunner(Class<?>) - Constructor for class org.mockito.runners.MockitoJUnitRunner
-
- MockitoLimitations - Class in org.mockito.internal.exceptions
-
- MockitoLimitations() - Constructor for class org.mockito.internal.exceptions.MockitoLimitations
-
- MockitoLogger - Interface in org.mockito.internal.util
-
- MockitoMethod - Interface in org.mockito.internal.invocation
-
- MockitoMethodProxy - Interface in org.mockito.internal.creation.util
-
- MockitoRule - Interface in org.mockito.junit
-
- 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
- MockMethodInterceptor - Class in org.mockito.internal.creation.bytebuddy
-
- MockMethodInterceptor(InternalMockHandler, MockCreationSettings) - Constructor for class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor
-
- MockMethodInterceptor.DispatcherDefaultingToRealMethod - Class in org.mockito.internal.creation.bytebuddy
-
- MockMethodInterceptor.DispatcherDefaultingToRealMethod() - Constructor for class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.DispatcherDefaultingToRealMethod
-
- MockMethodInterceptor.ForEquals - Class in org.mockito.internal.creation.bytebuddy
-
- MockMethodInterceptor.ForEquals() - Constructor for class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.ForEquals
-
- MockMethodInterceptor.ForHashCode - Class in org.mockito.internal.creation.bytebuddy
-
- MockMethodInterceptor.ForHashCode() - Constructor for class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.ForHashCode
-
- MockMethodInterceptor.ForWriteReplace - Class in org.mockito.internal.creation.bytebuddy
-
- MockMethodInterceptor.ForWriteReplace() - Constructor for class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.ForWriteReplace
-
- MockMethodInterceptor.MockAccess - Interface in org.mockito.internal.creation.bytebuddy
-
- mockName - Variable in class org.mockito.internal.creation.settings.CreationSettings
-
- MockName - Interface in org.mockito.mock
-
Represents the name of the mock as shown in the verification failure reports, etc.
- MockNameImpl - Class in org.mockito.internal.util
-
- MockNameImpl(String, Class) - Constructor for class org.mockito.internal.util.MockNameImpl
-
- MockNameImpl(String) - Constructor for class org.mockito.internal.util.MockNameImpl
-
- MockScanner - Class in org.mockito.internal.configuration.injection.scanner
-
Scan mocks, and prepare them if needed.
- MockScanner(Object, Class<?>) - Constructor for class org.mockito.internal.configuration.injection.scanner.MockScanner
-
Creates a MockScanner.
- MockSettings - Interface in org.mockito
-
Allows mock creation with additional mock settings.
- MockSettingsImpl<T> - Class in org.mockito.internal.creation
-
- MockSettingsImpl() - Constructor for class org.mockito.internal.creation.MockSettingsImpl
-
- mocksHaveToBePassedToVerifyNoMoreInteractions() - Static method in class org.mockito.exceptions.Reporter
-
- mocksHaveToBePassedWhenCreatingInOrder() - Static method in class org.mockito.exceptions.Reporter
-
- MockUtil - Class in org.mockito.internal.util
-
- MockUtil() - Constructor for class org.mockito.internal.util.MockUtil
-
- moreThanOneAnnotationNotAllowed(String) - Static method in class org.mockito.exceptions.Reporter
-