All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary Annotation Types Summary
Class |
Description |
AbstractAwareMethod |
|
AbstractThrowsException |
|
AdditionalAnswers |
Additional answers provides factory methods for answers.
|
AdditionalMatchers |
See Matchers for general info about matchers.
|
After |
|
AllInvocationsFinder |
|
And |
|
AnnotationEngine |
Deprecated.
|
AnnotationEngine |
Configures test via annotations.
|
AnnotationEngine.NoAction |
|
Answer<T> |
Generic interface to be used for configuring mock's answer.
|
Answer1<T,A0> |
Generic interface to be used for configuring mock's answer for a single argument invocation.
|
Answer2<T,A0,A1> |
Generic interface to be used for configuring mock's answer for a two argument invocation.
|
Answer3<T,A0,A1,A2> |
Generic interface to be used for configuring mock's answer for a three argument invocation.
|
Answer4<T,A0,A1,A2,A3> |
Generic interface to be used for configuring mock's answer for a four argument invocation.
|
Answer5<T,A0,A1,A2,A3,A4> |
Generic interface to be used for configuring mock's answer for a five argument invocation.
|
Answer6<T,A0,A1,A2,A3,A4,A5> |
Generic interface to be used for configuring mock's answer for a six argument invocation.
|
AnswerFunctionalInterfaces |
Functional interfaces to make it easy to implement answers in Java 8
|
Answers |
Enumeration of pre-configured mock answers
|
AnswersWithDelay |
Returns as the provided answer would return, after delaying the specified amount.
|
Any |
|
ArgMismatchFinder |
For given mocks, finds stubbing arg mismatches
|
ArgumentCaptor<T> |
Use it to capture argument values for further assertions.
|
ArgumentMatcher<T> |
Allows creating customized argument matchers.
|
ArgumentMatcherAction |
|
ArgumentMatchers |
Allow flexible verification or stubbing.
|
ArgumentMatcherStorage |
|
ArgumentMatcherStorageImpl |
|
ArgumentMatchingTool |
|
ArgumentsAreDifferent |
|
ArgumentsAreDifferent |
|
ArgumentsAreDifferent |
|
ArgumentsProcessor |
by Szczepan Faber, created at: 3/31/12
|
ArrayEquals |
|
AtLeast |
|
AtLeastDiscrepancy |
|
AtLeastXNumberOfInvocationsChecker |
|
AtMost |
|
AutoCleanableListener |
Listener that is automatically cleaned up (removed from the the global list of subscribers).
|
BaseStubber |
|
BaseStubbing<T> |
|
BDDMockito |
Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
|
BDDMockito.BDDMyOngoingStubbing<T> |
|
BDDMockito.BDDOngoingStubbingImpl<T> |
|
BDDMockito.BDDStubber |
|
BDDMockito.BDDStubberImpl |
|
BDDMockito.Then<T> |
Provides fluent way of mock verification.
|
BDDMockito.ThenImpl<T> |
|
BeanPropertySetter |
This utility class will call the setter of the property to inject a new value.
|
ByteBuddyCrossClassLoaderSerializationSupport |
This is responsible for serializing a mock, it is enabled if the mock is implementing Serializable .
|
ByteBuddyCrossClassLoaderSerializationSupport.CrossClassLoaderSerializableMock |
Simple interface that hold a correct writeReplace signature that can be seen by an
ObjectOutputStream .
|
ByteBuddyCrossClassLoaderSerializationSupport.CrossClassLoaderSerializationProxy |
This is the serialization proxy that will encapsulate the real mock data as a byte array.
|
ByteBuddyCrossClassLoaderSerializationSupport.MockitoMockObjectInputStream |
Special Mockito aware ObjectInputStream that will resolve the Mockito proxy class.
|
ByteBuddyCrossClassLoaderSerializationSupport.MockitoMockObjectOutputStream |
Special Mockito aware ObjectOutputStream .
|
ByteBuddyMockMaker |
ByteBuddy MockMaker.
|
BytecodeGenerator |
|
Calls |
|
CallsRealMethods |
Optional Answer that adds partial mocking support
|
CannotStubVoidMethodWithReturnValue |
|
CannotVerifyStubOnlyMock |
|
Captor |
|
CaptorAnnotationProcessor |
|
CapturesArguments |
|
CapturingMatcher<T> |
|
CheckReturnValue |
This annotation is not supposed to be used by Mockito end-users.
|
Checks |
Pre-made preconditions
|
ClassCreatingMockMaker |
|
ClassPathLoader |
Loads configuration or extension points available in the classpath.
|
ClonesArguments |
|
CompareEqual<T extends java.lang.Comparable<T>> |
|
CompareTo<T extends java.lang.Comparable<T>> |
|
ConditionalStackTraceFilter |
|
ConsecutiveStubbing<T> |
|
ConsoleMockitoLogger |
|
ConsoleSpammingMockitoJUnitRunner |
Deprecated.
|
ConstructionCallback |
|
ConstructorInjection |
Injection strategy based on constructor.
|
ConstructorInjection.SimpleArgumentResolver |
Returns mocks that match the argument type, if not possible assigns null.
|
ConstructorInstantiator |
|
Contains |
|
ContainsExtraTypeInfo |
Intended to use in certain ArgumentMatchers.
|
CreationSettings<T> |
|
DefaultAnswerValidator |
|
DefaultInjectionEngine |
Inject mock/spies dependencies for fields annotated with @InjectMocks
|
DefaultInstantiatorProvider |
|
DefaultInternalRunner |
|
DefaultInvocationFactory |
|
DefaultLenientStubber |
|
DefaultMockingDetails |
Class to inspect any object, and identify whether a particular object is either a mock or a spy.
|
DefaultMockitoConfiguration |
DefaultConfiguration of Mockito framework
|
DefaultMockitoFramework |
|
DefaultMockitoPlugins |
|
DefaultMockitoSession |
|
DefaultMockitoSessionBuilder |
|
DefaultPluginSwitch |
|
DefaultRegisteredInvocations |
|
DefaultRegisteredInvocations.RemoveToString |
|
DefaultStackTraceCleaner |
This predicate is used to filter "good" StackTraceElement .
|
DefaultStackTraceCleanerProvider |
by Szczepan Faber, created at: 7/29/12
|
DefaultStubbingLookupListener |
Default implementation of stubbing lookup listener.
|
DefaultTestFinishedEvent |
|
DelegatingMethod |
|
DescribedInvocation |
Provides information about the invocation, specifically a human readable description and the location.
|
Description |
Description verification mode wraps an existing verification mode and prepends
a custom message to the assertion error if verification fails.
|
DetachedThreadLocal<T> |
A detached local that allows for explicit control of setting and removing values from a thread-local
context.
|
DetachedThreadLocal.Cleaner |
Determines the cleaning format.
|
Discrepancy |
|
DoAnswerStyleStubbing |
Holds answers declared using 'doAnswer' stubbing style.
|
DoesNothing |
|
EndsWith |
|
Equality |
|
Equals |
|
EqualsBuilder |
Assists in implementing Object.equals(Object) methods.
|
EqualsWithDelta |
|
ExceptionFactory |
|
ExceptionFactory.ExceptionFactoryImpl |
|
ExceptionIncludingMockitoWarnings |
|
FailureDetector |
Implementation of JUnit run listener that knows when any of the tests failed
|
FieldAnnotationProcessor<A extends java.lang.annotation.Annotation> |
Simple annotation processor interface.
|
FieldInitializationReport |
Report on field initialization
|
FieldInitializer |
Initialize a field with type instance if a default constructor can be found.
|
FieldInitializer.ConstructorArgumentResolver |
Represents the strategy used to resolve actual instances
to be given to a constructor given the argument types.
|
FieldInitializer.ConstructorInstantiator |
|
FieldInitializer.NoArgConstructorInstantiator |
Constructor instantiating strategy for no-arg constructor.
|
FieldInitializer.ParameterizedConstructorInstantiator |
Constructor instantiating strategy for parameterized constructors.
|
FieldReader |
|
Fields |
Small fluent reflection tools to work with fields.
|
Fields.InstanceFields |
|
Find |
|
FindingsListener |
|
FormattedText |
Contains text that has already been formatted
and hence it does not need any formatting (like quotes around string, etc.)
|
ForwardsInvocations |
Internal answer to forward invocations on a real instance.
|
FriendlyReminderException |
|
GenericMaster |
|
GenericMetadataSupport |
This class can retrieve generic meta-data that the compiler stores on classes
and accessible members.
|
GenericMetadataSupport.BoundedType |
Type representing bounds of a type
|
GenericMetadataSupport.FromClassGenericMetadataSupport |
Generic metadata implementation for Class .
|
GenericMetadataSupport.FromParameterizedTypeGenericMetadataSupport |
Generic metadata implementation for "standalone" ParameterizedType .
|
GenericMetadataSupport.GenericArrayReturnType |
|
GenericMetadataSupport.NotGenericReturnTypeSupport |
Non-Generic metadata for Class returned via Method.getGenericReturnType() .
|
GenericMetadataSupport.ParameterizedReturnType |
Generic metadata specific to ParameterizedType returned via Method.getGenericReturnType() .
|
GenericMetadataSupport.TypeVarBoundedType |
Type representing bounds of a type variable, allows to keep all bounds information.
|
GenericMetadataSupport.TypeVariableReturnType |
Generic metadata for TypeVariable returned via Method.getGenericReturnType() .
|
GenericMetadataSupport.WildCardBoundedType |
Type representing bounds of a wildcard, allows to keep all bounds information.
|
GenericTypeExtractor |
Attempts to extract generic type of given target base class or target interface
|
GlobalConfiguration |
Thread-safe wrapper on user-defined org.mockito.configuration.MockitoConfiguration implementation
|
GloballyConfiguredAnswer |
Globally configured Answer.
|
GreaterOrEqual<T extends java.lang.Comparable<T>> |
|
GreaterThan<T extends java.lang.Comparable<T>> |
|
HamcrestArgumentMatcher<T> |
|
HashCodeAndEqualsMockWrapper |
hashCode and equals safe mock wrapper.
|
HashCodeAndEqualsSafeSet |
hashCode and equals safe hash based set.
|
IdentitySet |
|
IMockitoConfiguration |
Use it to configure Mockito.
|
Incubating |
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
IndependentAnnotationEngine |
Initializes fields annotated with @ Mock or @ Captor .
|
InjectingAnnotationEngine |
|
InjectionBase |
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 |
Mark a field on which injection should be performed.
|
InjectMocksException |
Thrown when creation of test subject annotated with InjectMocks fails.
|
InjectMocksScanner |
Scan field for injection.
|
InlineByteBuddyMockMaker |
|
InlineBytecodeGenerator |
|
InlineBytecodeGenerator.ParameterWritingVisitorWrapper |
|
InlineBytecodeGenerator.ParameterWritingVisitorWrapper.MethodParameterStrippingMethodVisitor |
|
InlineBytecodeGenerator.ParameterWritingVisitorWrapper.ParameterAddingClassVisitor |
|
InlineDelegateByteBuddyMockMaker |
Agent and subclass based mock maker.
|
InlineDelegateByteBuddyMockMaker.InlineConstructionMockContext |
|
InlineDelegateByteBuddyMockMaker.InlineStaticMockControl<T> |
|
InlineMockMaker |
Extension to MockMaker for mock makers that changes inline method implementations
and need keep track of created mock objects.
|
InOrder |
Allows verification in order.
|
InOrderContext |
|
InOrderContextImpl |
|
InOrderImpl |
Allows verifying in order.
|
InOrderWrapper |
|
InstanceField |
Represents an accessible instance field.
|
InstanceOf |
|
InstanceOf.VarArgAware |
|
InstantiationException |
|
InstantiationException |
Deprecated.
|
Instantiator |
Provides instances of classes.
|
Instantiator |
Deprecated.
|
InstantiatorProvider |
Deprecated.
|
InstantiatorProvider2 |
Mockito will invoke this interface in order to fetch an instance instantiator provider.
|
InstantiatorProvider2Adapter |
|
InstantiatorProviderAdapter |
|
InstrumentationMemberAccessor |
|
InstrumentationMemberAccessor.Dispatcher |
|
InterceptedInvocation |
|
InternalMockHandler<T> |
Deprecated. |
InternalRunner |
I'm using this surrogate interface to hide internal Runner implementations.
|
InvalidUseOfMatchersException |
|
Invocation |
A method call on a mock object.
|
InvocationComparator |
Compares invocations based on the sequence number
|
InvocationContainer |
Although this class is a part of public API, please don't provide your own implementations.
|
InvocationContainerImpl |
|
InvocationFactory |
|
InvocationFactory.RealMethodBehavior<R> |
Behavior of the real method.
|
InvocationInfo |
|
InvocationListener |
This listener can be notified of method invocations on a mock.
|
InvocationMarker |
|
InvocationMatcher |
In addition to all content of the invocation, the invocation matcher contains the argument matchers.
|
InvocationNotifierHandler<T> |
Handler, that call all listeners wanted for this mock, before delegating it
to the parameterized handler.
|
InvocationOnMock |
An invocation on a mock.
|
InvocationsFinder |
|
InvocationsFinder.RemoveNotMatching |
|
InvocationsFinder.RemoveUnverifiedInOrder |
|
InvocationsPrinter |
Prints invocations in human-readable, printable way
|
IOUtil |
IO utils.
|
Iterables |
Utilities for Iterables
|
JavaEightUtil |
Helper class to work with features that were introduced in Java versions after 1.5.
|
JUnitFailureHacker |
Deprecated. |
JUnitRule |
Internal implementation.
|
JUnitSessionStore |
|
JUnitTestRule |
|
KotlinInlineClassUtil |
|
LenientCopyTool |
|
LenientStubber |
|
LessOrEqual<T extends java.lang.Comparable<T>> |
|
LessThan<T extends java.lang.Comparable<T>> |
|
ListUtil |
Basic list/collection operators.
|
ListUtil.Converter<FromT,To> |
|
ListUtil.Filter<T> |
|
Localized<T> |
|
LocalizedMatcher |
|
Location |
Describes the location of something in the source code.
|
LocationImpl |
|
LoggingListener |
|
MatchableInvocation |
MatchableInvocation wraps Invocation instance
and holds argument matchers associated with that invocation.
|
MatcherApplicationStrategy |
|
MatcherApplicationStrategy.MatcherApplicationType |
|
MatcherGenericTypeExtractor |
Extracts generic type of matcher
|
Matchers |
Deprecated.
|
MatchersBinder |
|
MatchersPrinter |
|
MatcherToString |
Provides better toString() text for matcher that don't have toString() method declared.
|
Matches |
|
MemberAccessor |
A member accessor is responsible for invoking methods, constructors and for setting
and reading field values.
|
MemberAccessor.ConstructionDispatcher |
|
MemberAccessor.OnConstruction |
|
MethodInvocationReport |
Represent a method call on a mock.
|
MismatchReportingTestListener |
Reports stubbing argument mismatches to the supplied logger
|
MissingInvocationChecker |
|
MissingMethodInvocationException |
|
Mock |
Mark a field as a mock.
|
MockAccess |
|
MockAnnotationProcessor |
Instantiates a mock on a field annotated by Mock
|
MockAwareVerificationMode |
|
MockCandidateFilter |
|
MockCreationListener |
Notified when mock object is created.
|
MockCreationSettings<T> |
Informs about the mock settings.
|
MockCreationValidator |
|
MockedConstruction<T> |
Represents a mock of any object construction of the represented type.
|
MockedConstruction.Context |
|
MockedConstruction.MockInitializer<T> |
|
MockedConstructionImpl<T> |
|
MockedStatic<T> |
Represents an active mock of a type's static methods.
|
MockedStatic.Verification |
|
MockedStaticImpl<T> |
|
MockFeatures<T> |
|
MockHandler<T> |
Mockito handler of an invocation on a mock.
|
MockHandlerFactory |
by Szczepan Faber, created at: 5/21/12
|
MockHandlerImpl<T> |
Invocation handler set on mock objects.
|
MockingDetails |
Provides mocking information.
|
MockingProgress |
|
MockingProgressImpl |
|
MockInjection |
Internal injection configuration utility.
|
MockInjection.OngoingMockInjection |
Ongoing configuration of the mock injector.
|
MockInjectionStrategy |
Injector strategy contract
|
Mockito |
|
MockitoAnnotations |
MockitoAnnotations.openMocks(this); initializes fields annotated with Mockito annotations.
|
MockitoAssertionError |
Base class for verification errors emitted by Mockito.
|
MockitoConfigurationException |
|
MockitoCore |
|
MockitoDebugger |
Deprecated.
|
MockitoDebuggerImpl |
|
MockitoException |
Raised by mockito to emit an error either due to Mockito, or due to the User.
|
MockitoFramework |
Mockito framework settings and lifecycle listeners, for advanced users or for integrating with other frameworks.
|
MockitoHamcrest |
Allows matching arguments with hamcrest matchers.
|
MockitoHint |
Stubbing hints were introduced in Mockito 2 in order to improve debuggability while keeping backwards compatibility.
|
MockitoInitializationException |
|
MockitoJUnit |
|
MockitoJUnitRunner |
Mockito JUnit Runner keeps tests clean and improves debugging experience.
|
MockitoJUnitRunner |
Deprecated.
|
MockitoJUnitRunner.Silent |
This Mockito JUnit Runner implementation *ignores*
stubbing argument mismatches ( MockitoJUnitRunner.StrictStubs )
and *does not detect* unused stubbings.
|
MockitoJUnitRunner.Silent |
Deprecated.
|
MockitoJUnitRunner.Strict |
Detects unused stubs and reports them as failures.
|
MockitoJUnitRunner.Strict |
Deprecated.
|
MockitoJUnitRunner.StrictStubs |
Improves debugging tests, helps keeping the tests clean.
|
MockitoListener |
Marker interface for all types of Mockito listeners.
|
MockitoLogger |
Mockito logger.
|
MockitoLoggerAdapter |
|
MockitoMethod |
|
MockitoMethodProxy |
|
MockitoPlugins |
|
MockitoRule |
Mockito JUnit Rule helps keeping tests clean.
|
MockitoSerializationIssue |
Raised by mockito to emit an error either due to Mockito, or due to the User.
|
MockitoSession |
MockitoSession is an optional, highly recommended feature
that helps driving cleaner tests by eliminating boilerplate code and adding extra validation.
|
MockitoSessionBuilder |
Fluent builder interface for MockitoSession objects.
|
MockitoSessionLogger |
|
MockitoSessionLoggerAdapter |
|
MockitoTestListener |
Internal test listener that helps decoupling JUnit internals from Mockito "business" logic.
|
MockitoTestRule |
Equivalent to MockitoRule , but inherits a different JUnit4 base interface TestRule .
|
MockMaker |
The facility to create mocks.
|
MockMaker.ConstructionMockControl<T> |
|
MockMaker.StaticMockControl<T> |
|
MockMaker.TypeMockability |
Carries the mockability information
|
MockMethodAdvice |
|
MockMethodAdvice.ConstructorShortcut |
|
MockMethodAdvice.ForEquals |
|
MockMethodAdvice.ForHashCode |
|
MockMethodAdvice.ForReadObject |
|
MockMethodAdvice.ForStatic |
|
MockMethodAdvice.Identifier |
|
MockMethodAdvice.RealMethodCall |
|
MockMethodAdvice.ReturnValueWrapper |
|
MockMethodAdvice.SelfCallInfo |
|
MockMethodAdvice.SerializableRealMethodCall |
|
MockMethodAdvice.StaticMethodCall |
|
MockMethodDispatcher |
|
MockMethodInterceptor |
|
MockMethodInterceptor.DispatcherDefaultingToRealMethod |
|
MockMethodInterceptor.ForEquals |
|
MockMethodInterceptor.ForHashCode |
|
MockMethodInterceptor.ForWriteReplace |
|
MockName |
Represents the name of the mock as shown in the verification failure reports, etc.
|
MockNameImpl |
|
MockReference<T> |
To avoid memory leaks for certain implementations of MockMaker,
we need to use weak mock references internally.
|
MockResolver |
A mock resolver offers an opportunity to resolve a mock from any instance that is
provided to the Mockito -DSL.
|
MockScanner |
Scan mocks, and prepare them if needed.
|
MockSettings |
Allows mock creation with additional mock settings.
|
MockSettingsImpl<T> |
|
MockStrongReference<T> |
|
MockUtil |
|
MockWeakReference<T> |
A weak reference that is converted into a strong reference when serialized.
|
ModuleHandler |
|
ModuleHandler.ModuleSystemFound |
|
ModuleHandler.NoModuleSystemFound |
|
ModuleMemberAccessor |
|
MoreThanAllowedActualInvocations |
Thrown when atMost(x) verification fails.
|
NameBasedCandidateFilter |
|
NeverWantedButInvoked |
|
NoInteractions |
|
NoInteractionsWanted |
No interactions wanted.
|
NoMoreInteractions |
|
NoOpTestListener |
|
Not |
|
NotAMockException |
|
NotExtensible |
Indicates to the user that she should not provide custom implementations of given type.
|
NotifiedMethodInvocationReport |
Report on a method call
|
NotNull |
|
Null |
|
NullInsteadOfMockException |
|
NullResultGuardian<T> |
Protects the results from delegate MockHandler.
|
NumberOfInvocationsChecker |
|
ObjectMethodsGuru |
|
ObjenesisInstantiator |
|
OngoingInjector |
Allow the ongoing injection of a mock candidate.
|
OngoingStubbing<T> |
Simply put: "When the x method is called then return y".
|
OngoingStubbingImpl<T> |
|
Only |
|
Or |
|
Platform |
|
PluginFileReader |
|
PluginFinder |
|
PluginInitializer |
|
PluginLoader |
|
PluginRegistry |
|
Plugins |
Access to Mockito behavior that can be reconfigured by plugins
|
PluginSwitch |
Allows switching off the plugins that are discovered on classpath.
|
Pluralizer |
|
PotentialStubbingProblem |
PotentialStubbingProblem improves productivity by failing the test early when the user
misconfigures mock's stubbing.
|
Primitives |
|
PrintSettings |
|
PropertyAndSetterInjection |
Inject mocks using first setters then fields, if no setters available.
|
ProxyMockMaker |
A mock maker that is using the Proxy utility and is therefore only capable of mocking interfaces but
does not rely on manual byte code generation but only uses official and public Java API.
|
RealMethod |
Interface that wraps a 'real' method of the mock object.
|
RealMethod.FromBehavior |
|
RealMethod.FromCallable |
|
RealMethod.IsIllegal |
|
RedundantListenerException |
Reported when instance of MockitoListener
is being added to Mockito (see MockitoFramework )
and there is already a listener with this implementation type registered.
|
ReflectionEquals |
|
ReflectionMemberAccessor |
|
RegisteredInvocations |
|
Reporter |
Reports verification and misusing errors.
|
RetrieveGenericsForDefaultAnswers |
|
RetrieveGenericsForDefaultAnswers.AnswerCallback |
|
Returns |
|
ReturnsArgumentAt |
Returns the passed parameter identity at specified index.
|
ReturnsDeepStubs |
Returning deep stub implementation.
|
ReturnsDeepStubs.DeeplyStubbedAnswer |
|
ReturnsDeepStubs.LazyHolder |
|
ReturnsDeepStubs.ReturnsDeepStubsSerializationFallback |
|
ReturnsElementsOf |
Returns elements of the collection.
|
ReturnsEmptyValues |
Default answer of every Mockito mock.
|
ReturnsMocks |
|
ReturnsMoreEmptyValues |
It's likely this implementation will be used by default by every Mockito 4.0.0 mock.
|
ReturnsSmartNulls |
|
ReturnsSmartNulls.ThrowsSmartNullPointer |
|
RunnerFactory |
Creates instances of Mockito JUnit Runner in a safe way, e.g.
|
RunnerProvider |
|
Same |
|
ScenarioPrinter |
|
ScopedMock |
Represents a mock with a thread-local explicit scope.
|
SequenceNumber |
|
SerializableMethod |
|
SerializableMode |
Mock serializable style.
|
Sets |
|
SingleRegisteredInvocation |
|
SmartNullPointerException |
|
SmartPrinter |
Makes sure both wanted and actual are printed consistently (single line or multiline)
|
Spy |
Allows shorthand wrapping of field instances in an spy object.
|
SpyAnnotationEngine |
Process fields annotated with @Spy.
|
SpyOnInjectedFieldsHandler |
Handler for field annotated with @InjectMocks and @Spy.
|
StackTraceCleaner |
Decides if particular StackTraceElement is excluded from the human-readable stack trace output.
|
StackTraceCleanerProvider |
|
StackTraceFilter |
|
StartsWith |
|
Strictness |
Configures the "strictness" of Mockito, affecting the behavior of stubbings and verification.
|
StrictnessSelector |
Helps determining the actual strictness given that it can be configured in multiple ways (at mock, at stubbing, in rule)
|
StrictRunner |
|
StrictStubsRunnerTestListener |
Fails early when mismatched arguments used for stubbing
|
StringUtil |
|
StubbedInvocationMatcher |
|
Stubber |
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
|
StubberImpl |
|
Stubbing |
Stubbing declared on the mock object.
|
StubbingArgMismatches |
Contains stubbing arg mismatches, knows how to format them
|
StubbingComparator |
|
StubbingHint |
Stubbing hint emitted to the user
|
StubbingLookupEvent |
Represent an information about the looked up stubbing
|
StubbingLookupListener |
When a method is called on a mock object Mockito looks up any stubbings recorded on that mock.
|
StubbingLookupNotifier |
|
StubbingLookupNotifier.Event |
|
StubInfo |
The information about stubbing, for example the location of stubbing.
|
StubInfoImpl |
|
SubclassByteBuddyMockMaker |
Subclass based mock maker.
|
SubclassBytecodeGenerator |
|
SubclassInjectionLoader |
|
SubclassInjectionLoader.WithLookup |
|
SubclassInjectionLoader.WithReflection |
|
SubclassLoader |
A subclass loader is responsible for resolving a class loading strategy for a mock that is implemented as a subclass.
|
SuperTypesLastSorter |
Sort fields in an order suitable for injection, by name with superclasses
moved after their subclasses.
|
Supplier<T> |
Abstract provider that can supply (provide/create) objects of given type.
|
SuppressSignatureCheck |
|
SuspendMethod |
Utilities for Kotlin Continuation-Passing-Style suspending function, detecting and trimming last hidden parameter.
|
TerminalMockCandidateFilter |
This node returns an actual injecter which will be either :
an OngoingInjector that do nothing if a candidate couldn't be found
an OngoingInjector that will try to inject the candidate trying first the property setter then if not possible try the field access
|
TestFinishedEvent |
|
TestMethodsFinder |
|
ThreadSafeMockingProgress |
|
ThrowsException |
An answer that always throws the same throwable.
|
ThrowsExceptionForClassType |
|
Timeout |
|
Timer |
|
Times |
|
TooFewActualInvocations |
|
TooLittleActualInvocations |
Deprecated.
|
TooManyActualInvocations |
|
TriesToReturnSelf |
|
TypeBasedCandidateFilter |
|
TypeCachingBytecodeGenerator |
|
TypeCachingBytecodeGenerator.MockitoMockKey |
|
TypeSafeMatching |
|
TypeSupport |
|
UnfinishedMockingSessionException |
|
UnfinishedStubbingException |
|
UnfinishedVerificationException |
|
UniversalTestListener |
Universal test listener that behaves accordingly to current setting of strictness.
|
UnnecessaryStubbingException |
This exception indicates presence of unused stubbings.
|
UnnecessaryStubbingsReporter |
Reports unnecessary stubbings
|
UnusedStubbingReporting |
Helps determining if stubbing should be reported as unused
|
UnusedStubbings |
Contains unused stubbings, knows how to format them
|
UnusedStubbingsFinder |
Finds unused stubbings
|
UnusedStubsFinder |
Deprecated. |
ValidableAnswer |
Allow to validate this answer is correct for the given invocation.
|
ValuePrinter |
Prints a Java object value in a way humans can read it neatly.
|
VarargMatcher |
Internal interface that informs Mockito that the matcher is intended to capture varargs.
|
VerboseMockInvocationLogger |
Logs all invocations to standard output.
|
VerboseMockitoJUnitRunner |
Deprecated.
|
VerifiableInvocationsFinder |
Author: Szczepan Faber, created at: 4/3/11
|
VerifiableInvocationsFinder.RemoveIgnoredForVerification |
|
VerificationAfterDelay |
VerificationAfterDelay is a VerificationMode that allows combining existing verification modes with an initial delay, e.g.
|
VerificationAwareInvocation |
|
VerificationCollector |
Use this rule in order to collect multiple verification failures and report at once.
|
VerificationCollectorImpl |
Mockito implementation of VerificationCollector.
|
VerificationData |
Data needed to perform verification of interactions.
|
VerificationDataImpl |
|
VerificationDataInOrder |
|
VerificationDataInOrderImpl |
|
VerificationEvent |
Contains all information about a verification that has happened.
|
VerificationEventImpl |
|
VerificationInOrderFailure |
|
VerificationInOrderMode |
|
VerificationListener |
This listener can be notified of verify invocations on a mock.
|
VerificationMode |
Allows verifying that certain behavior happened at least once / exact number
of times / never.
|
VerificationModeFactory |
|
VerificationOverTimeImpl |
Verifies that another verification mode (the delegate) is satisfied within a certain timeframe
(before timeoutMillis has passed, measured from the call to verify()), and either returns immediately
once it does, or waits until it is definitely satisfied once the full time has passed.
|
VerificationStartedEvent |
|
VerificationStartedListener |
This listener gets notified when the user starts verification.
|
VerificationStartedNotifier |
|
VerificationStartedNotifier.Event |
|
VerificationStrategy |
Strategy to possibly lazily perform verifications.
|
VerificationWithTimeout |
VerificationWithTimeout is a VerificationMode that allows combining existing verification modes with 'timeout'.
|
VerificationWrapper<WrapperT extends VerificationMode> |
|
VerificationWrapperInOrderWrapper |
|
VoidAnswer1<A0> |
Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing.
|
VoidAnswer2<A0,A1> |
Generic interface to be used for configuring mock's answer for a two argument invocation that returns nothing.
|
VoidAnswer3<A0,A1,A2> |
Generic interface to be used for configuring mock's answer for a three argument invocation that returns nothing.
|
VoidAnswer4<A0,A1,A2,A3> |
Generic interface to be used for configuring mock's answer for a four argument invocation that returns nothing.
|
VoidAnswer5<A0,A1,A2,A3,A4> |
Generic interface to be used for configuring mock's answer for a five argument invocation that returns nothing.
|
VoidAnswer6<A0,A1,A2,A3,A4,A5> |
Generic interface to be used for configuring mock's answer for a six argument invocation that returns nothing.
|
WantedButNotInvoked |
|
WarningsCollector |
Deprecated. |
WarningsFinder |
|
WarningsPrinterImpl |
|
WeakConcurrentMap<K,V> |
A thread-safe map with weak keys.
|
WeakConcurrentMap.LatentKey<T> |
|
WeakConcurrentMap.WeakKey<T> |
|
WeakConcurrentMap.WithInlinedExpunction<K,V> |
A WeakConcurrentMap where stale entries are removed as a side effect of interacting with this map.
|
WeakConcurrentSet<V> |
A thread-safe set with weak values.
|
WeakConcurrentSet.Cleaner |
Determines the cleaning format.
|
WeakConcurrentSet.ReducingIterator<V> |
|
WrongTypeOfReturnValue |
|