Serialized Form
-
Package org.mockito
-
Package org.mockito.creation.instance
-
Exception Class org.mockito.creation.instance.InstantiationException
class InstantiationException extends MockitoException implements Serializable
-
-
Package org.mockito.exceptions.base
-
Exception Class org.mockito.exceptions.base.MockitoAssertionError
class MockitoAssertionError extends AssertionError implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
unfilteredStackTrace
StackTraceElement[] unfilteredStackTrace
-
-
Exception Class org.mockito.exceptions.base.MockitoException
class MockitoException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
unfilteredStackTrace
StackTraceElement[] unfilteredStackTrace
-
-
Exception Class org.mockito.exceptions.base.MockitoInitializationException
class MockitoInitializationException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.base.MockitoSerializationIssue
class MockitoSerializationIssue extends ObjectStreamException implements Serializable-
Serialized Fields
-
unfilteredStackTrace
StackTraceElement[] unfilteredStackTrace
-
-
-
-
Package org.mockito.exceptions.misusing
-
Exception Class org.mockito.exceptions.misusing.CannotStubVoidMethodWithReturnValue
class CannotStubVoidMethodWithReturnValue extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.CannotVerifyStubOnlyMock
class CannotVerifyStubOnlyMock extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.DisabledMockException
class DisabledMockException extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.DoNotMockException
class DoNotMockException extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.FriendlyReminderException
class FriendlyReminderException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.misusing.InjectMocksException
class InjectMocksException extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.InvalidUseOfMatchersException
class InvalidUseOfMatchersException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.misusing.MissingMethodInvocationException
class MissingMethodInvocationException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.misusing.MockitoConfigurationException
class MockitoConfigurationException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.misusing.NotAMockException
class NotAMockException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.misusing.NullInsteadOfMockException
class NullInsteadOfMockException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.misusing.PotentialStubbingProblem
class PotentialStubbingProblem extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.RedundantListenerException
class RedundantListenerException extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.UnfinishedMockingSessionException
class UnfinishedMockingSessionException extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.UnfinishedStubbingException
class UnfinishedStubbingException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.misusing.UnfinishedVerificationException
class UnfinishedVerificationException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.misusing.UnnecessaryStubbingException
class UnnecessaryStubbingException extends MockitoException implements Serializable -
Exception Class org.mockito.exceptions.misusing.WrongTypeOfReturnValue
class WrongTypeOfReturnValue extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
-
Package org.mockito.exceptions.verification
-
Exception Class org.mockito.exceptions.verification.ArgumentsAreDifferent
class ArgumentsAreDifferent extends MockitoAssertionError implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.verification.MoreThanAllowedActualInvocations
class MoreThanAllowedActualInvocations extends MockitoAssertionError implements Serializable -
Exception Class org.mockito.exceptions.verification.NeverWantedButInvoked
class NeverWantedButInvoked extends MockitoAssertionError implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.verification.NoInteractionsWanted
class NoInteractionsWanted extends MockitoAssertionError implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.verification.SmartNullPointerException
class SmartNullPointerException extends MockitoException implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.verification.TooFewActualInvocations
class TooFewActualInvocations extends MockitoAssertionError implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.verification.TooManyActualInvocations
class TooManyActualInvocations extends MockitoAssertionError implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.verification.VerificationInOrderFailure
class VerificationInOrderFailure extends MockitoAssertionError implements Serializable- serialVersionUID:
- 1L
-
Exception Class org.mockito.exceptions.verification.WantedButNotInvoked
class WantedButNotInvoked extends MockitoAssertionError implements Serializable- serialVersionUID:
- 1L
-
-
Package org.mockito.exceptions.verification.junit
-
Exception Class org.mockito.exceptions.verification.junit.ArgumentsAreDifferent
class ArgumentsAreDifferent extends junit.framework.ComparisonFailure implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
message
String message
-
unfilteredStackTrace
StackTraceElement[] unfilteredStackTrace
-
-
-
Package org.mockito.exceptions.verification.opentest4j
-
Exception Class org.mockito.exceptions.verification.opentest4j.ArgumentsAreDifferent
class ArgumentsAreDifferent extends org.opentest4j.AssertionFailedError implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
message
String message
-
unfilteredStackTrace
StackTraceElement[] unfilteredStackTrace
-
-
-
Package org.mockito.internal.configuration
-
Class org.mockito.internal.configuration.GlobalConfiguration
class GlobalConfiguration extends Object implements Serializable- serialVersionUID:
- -2860353062105505938L
-
-
Package org.mockito.internal.creation
-
Class org.mockito.internal.creation.MockSettingsImpl
- serialVersionUID:
- 4475297236197939569L
-
-
Package org.mockito.internal.creation.bytebuddy
-
Class org.mockito.internal.creation.bytebuddy.ByteBuddyCrossClassLoaderSerializationSupport.CrossClassLoaderSerializationProxy
class CrossClassLoaderSerializationProxy extends Object implements Serializable- serialVersionUID:
- -7600267929109286514L
-
Serialization Methods
-
readResolve
Resolves the proxy to a new deserialized instance of the Mockito mock.Uses the custom crafted
ByteBuddyCrossClassLoaderSerializationSupport.MockitoMockObjectInputStream
to deserialize the mock.- Throws:
ObjectStreamException
-
-
Serialized Fields
-
Class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor
class MockMethodInterceptor extends Object implements Serializable- serialVersionUID:
- 7152947254057253027L
-
Serialization Methods
-
readObject
- Throws:
IOException
ClassNotFoundException
-
-
Serialized Fields
-
handler
MockHandler handler
-
mockCreationSettings
MockCreationSettings mockCreationSettings
-
serializationSupport
org.mockito.internal.creation.bytebuddy.ByteBuddyCrossClassLoaderSerializationSupport serializationSupport
-
-
-
Package org.mockito.internal.creation.settings
-
Class org.mockito.internal.creation.settings.CreationSettings
class CreationSettings extends Object implements Serializable- serialVersionUID:
- -6789800638070123629L
-
Serialized Fields
-
constructorArgs
Object[] constructorArgs
-
defaultAnswer
Answer<Object> defaultAnswer
-
extraInterfaces
Set<Class<?>> extraInterfaces
-
invocationListeners
List<InvocationListener> invocationListeners
-
mockMaker
String mockMaker
-
mockName
MockName mockName
-
mockType
MockType mockType
-
name
String name
-
outerClassInstance
Object outerClassInstance
-
serializableMode
SerializableMode serializableMode
-
spiedInstance
Object spiedInstance
-
strictness
Strictness strictness
-
stripAnnotations
boolean stripAnnotations
-
stubbingLookupListeners
List<StubbingLookupListener> stubbingLookupListeners
-
stubOnly
boolean stubOnly
-
typeToMock
Class<T> typeToMock
-
useConstructor
boolean useConstructor
-
verificationStartedListeners
List<VerificationStartedListener> verificationStartedListeners
-
-
-
Package org.mockito.internal.exceptions
-
Exception Class org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings
class ExceptionIncludingMockitoWarnings extends RuntimeException implements Serializable- serialVersionUID:
- -5925150219446765679L
-
-
Package org.mockito.internal.exceptions.stacktrace
-
Class org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilter
class ConditionalStackTraceFilter extends Object implements Serializable- serialVersionUID:
- -8085849703510292641L
-
Serialized Fields
-
config
IMockitoConfiguration config
-
filter
StackTraceFilter filter
-
-
Class org.mockito.internal.exceptions.stacktrace.StackTraceFilter
class StackTraceFilter extends Object implements Serializable- serialVersionUID:
- -5499819791513105700L
-
-
Package org.mockito.internal.framework
-
Class org.mockito.internal.framework.DisabledMockHandler
class DisabledMockHandler extends Object implements Serializable
-
-
Package org.mockito.internal.handler
-
Class org.mockito.internal.handler.MockHandlerImpl
class MockHandlerImpl extends Object implements Serializable- serialVersionUID:
- -2917871070982574165L
-
Serialized Fields
-
invocationContainer
InvocationContainerImpl invocationContainer
-
matchersBinder
MatchersBinder matchersBinder
-
mockSettings
MockCreationSettings<T> mockSettings
-
-
-
Package org.mockito.internal.invocation
-
Class org.mockito.internal.invocation.InterceptedInvocation
class InterceptedInvocation extends Object implements Serializable- serialVersionUID:
- 475027563923510472L
-
Serialized Fields
-
arguments
Object[] arguments
-
isIgnoredForVerification
boolean isIgnoredForVerification
-
location
Location location
-
mockitoMethod
MockitoMethod mockitoMethod
-
mockRef
MockReference<Object> mockRef
-
rawArguments
Object[] rawArguments
-
realMethod
RealMethod realMethod
-
sequenceNumber
int sequenceNumber
-
stubInfo
StubInfo stubInfo
-
verified
boolean verified
-
-
Class org.mockito.internal.invocation.InvocationMatcher
class InvocationMatcher extends Object implements Serializable-
Serialized Fields
-
invocation
Invocation invocation
-
matchers
List<ArgumentMatcher<?>> matchers
-
-
-
Class org.mockito.internal.invocation.MatchersBinder
class MatchersBinder extends Object implements Serializable -
Class org.mockito.internal.invocation.RealMethod.FromBehavior
class FromBehavior extends Object implements Serializable-
Serialized Fields
-
behavior
InvocationFactory.RealMethodBehavior<?> behavior
-
-
-
Class org.mockito.internal.invocation.RealMethod.FromCallable
class FromCallable extends RealMethod.FromBehavior implements Serializable -
Class org.mockito.internal.invocation.SerializableMethod
class SerializableMethod extends Object implements Serializable- serialVersionUID:
- 6005610965006048445L
-
Class org.mockito.internal.invocation.StubInfoImpl
class StubInfoImpl extends Object implements Serializable- serialVersionUID:
- 2125827349332068867L
-
Serialized Fields
-
stubbedAt
DescribedInvocation stubbedAt
-
-
-
Package org.mockito.internal.invocation.mockref
-
Class org.mockito.internal.invocation.mockref.MockStrongReference
class MockStrongReference extends Object implements Serializable-
Serialization Methods
-
readResolve
- Throws:
ObjectStreamException
-
-
Serialized Fields
-
deserializeAsWeakRef
boolean deserializeAsWeakRef
-
ref
T ref
-
-
-
Class org.mockito.internal.invocation.mockref.MockWeakReference
class MockWeakReference extends Object implements Serializable-
Serialization Methods
-
writeReplace
- Throws:
ObjectStreamException
-
-
Serialized Fields
-
ref
WeakReference<T> ref
-
-
-
-
Package org.mockito.internal.matchers
-
Class org.mockito.internal.matchers.And
class And extends Object implements Serializable-
Serialized Fields
-
m1
ArgumentMatcher m1
-
m2
ArgumentMatcher m2
-
-
-
Class org.mockito.internal.matchers.Any
class Any extends Object implements Serializable -
Class org.mockito.internal.matchers.ArrayEquals
class ArrayEquals extends Equals implements Serializable -
Class org.mockito.internal.matchers.CapturingMatcher
class CapturingMatcher extends Object implements Serializable -
Class org.mockito.internal.matchers.CompareEqual
-
Class org.mockito.internal.matchers.CompareTo
class CompareTo extends Object implements Serializable-
Serialized Fields
-
wanted
T extends Comparable<T> wanted
-
-
-
Class org.mockito.internal.matchers.Contains
class Contains extends Object implements Serializable-
Serialized Fields
-
substring
String substring
-
-
-
Class org.mockito.internal.matchers.EndsWith
class EndsWith extends Object implements Serializable-
Serialized Fields
-
suffix
String suffix
-
-
-
Class org.mockito.internal.matchers.Equals
class Equals extends Object implements Serializable-
Serialized Fields
-
wanted
Object wanted
-
-
-
Class org.mockito.internal.matchers.EqualsWithDelta
class EqualsWithDelta extends Object implements Serializable -
Class org.mockito.internal.matchers.Find
class Find extends Object implements Serializable-
Serialized Fields
-
regex
String regex
-
-
-
Class org.mockito.internal.matchers.GreaterOrEqual
-
Class org.mockito.internal.matchers.GreaterThan
-
Class org.mockito.internal.matchers.InstanceOf
class InstanceOf extends Object implements Serializable -
Class org.mockito.internal.matchers.LessOrEqual
-
Class org.mockito.internal.matchers.LessThan
-
Class org.mockito.internal.matchers.Matches
class Matches extends Object implements Serializable-
Serialized Fields
-
pattern
Pattern pattern
-
-
-
Class org.mockito.internal.matchers.Not
class Not extends Object implements Serializable-
Serialized Fields
-
matcher
ArgumentMatcher matcher
-
-
-
Class org.mockito.internal.matchers.NotNull
class NotNull extends Object implements Serializable -
Class org.mockito.internal.matchers.Null
class Null extends Object implements Serializable -
Class org.mockito.internal.matchers.Or
class Or extends Object implements Serializable-
Serialized Fields
-
m1
ArgumentMatcher m1
-
m2
ArgumentMatcher m2
-
-
-
Class org.mockito.internal.matchers.Same
class Same extends Object implements Serializable-
Serialized Fields
-
wanted
Object wanted
-
-
-
Class org.mockito.internal.matchers.StartsWith
class StartsWith extends Object implements Serializable-
Serialized Fields
-
prefix
String prefix
-
-
-
-
Package org.mockito.internal.matchers.apachecommons
-
Class org.mockito.internal.matchers.apachecommons.ReflectionEquals
class ReflectionEquals extends Object implements Serializable
-
-
Package org.mockito.internal.stubbing
-
Class org.mockito.internal.stubbing.InvocationContainerImpl
class InvocationContainerImpl extends Object implements Serializable- serialVersionUID:
- -5334301962749537177L
-
Serialized Fields
-
doAnswerStyleStubbing
org.mockito.internal.stubbing.DoAnswerStyleStubbing doAnswerStyleStubbing
-
invocationForStubbing
MatchableInvocation invocationForStubbing
-
mockStrictness
Strictness mockStrictness
-
registeredInvocations
RegisteredInvocations registeredInvocations
-
stubbed
LinkedList<StubbedInvocationMatcher> stubbed
-
-
Class org.mockito.internal.stubbing.StubbedInvocationMatcher
class StubbedInvocationMatcher extends InvocationMatcher implements Serializable- serialVersionUID:
- 4919105134123672727L
-
Serialized Fields
-
answers
Queue<Answer> answers
-
strictness
Strictness strictness
-
usedAt
DescribedInvocation usedAt
-
usedAtLock
Object usedAtLock
-
-
-
Package org.mockito.internal.stubbing.answers
-
Class org.mockito.internal.stubbing.answers.AnswersWithDelay
class AnswersWithDelay extends Object implements Serializable- serialVersionUID:
- 2177950597971260246L
-
Class org.mockito.internal.stubbing.answers.CallsRealMethods
class CallsRealMethods extends Object implements Serializable- serialVersionUID:
- 9057165148930624087L
-
Class org.mockito.internal.stubbing.answers.DoesNothing
class DoesNothing extends Object implements Serializable- serialVersionUID:
- 4840880517740698416L
-
Class org.mockito.internal.stubbing.answers.Returns
class Returns extends Object implements Serializable- serialVersionUID:
- -6245608253574215396L
-
Serialized Fields
-
value
Object value
-
-
Class org.mockito.internal.stubbing.answers.ReturnsArgumentAt
class ReturnsArgumentAt extends Object implements Serializable- serialVersionUID:
- -589315085166295101L
-
Serialized Fields
-
wantedArgumentPosition
int wantedArgumentPosition
-
-
Class org.mockito.internal.stubbing.answers.ThrowsException
class ThrowsException extends AbstractThrowsException implements Serializable- serialVersionUID:
- 1128820328555183980L
-
Serialized Fields
-
throwable
Throwable throwable
-
-
Class org.mockito.internal.stubbing.answers.ThrowsExceptionForClassType
class ThrowsExceptionForClassType extends AbstractThrowsException implements Serializable
-
-
Package org.mockito.internal.stubbing.defaultanswers
-
Class org.mockito.internal.stubbing.defaultanswers.ForwardsInvocations
class ForwardsInvocations extends Object implements Serializable- serialVersionUID:
- -8343690268123254910L
-
Serialized Fields
-
delegatedObject
Object delegatedObject
-
-
Class org.mockito.internal.stubbing.defaultanswers.GloballyConfiguredAnswer
class GloballyConfiguredAnswer extends Object implements Serializable- serialVersionUID:
- 3585893470101750917L
-
Class org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs
class ReturnsDeepStubs extends Object implements Serializable- serialVersionUID:
- -7105341425736035847L
-
Class org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues
class ReturnsEmptyValues extends Object implements Serializable- serialVersionUID:
- 1998191268711234347L
-
Class org.mockito.internal.stubbing.defaultanswers.ReturnsMocks
class ReturnsMocks extends Object implements Serializable- serialVersionUID:
- -6755257986994634579L
-
Class org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues
class ReturnsMoreEmptyValues extends Object implements Serializable- serialVersionUID:
- -2816745041482698471L
-
Class org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls
class ReturnsSmartNulls extends Object implements Serializable- serialVersionUID:
- 7618312406617949441L
-
Class org.mockito.internal.stubbing.defaultanswers.TriesToReturnSelf
class TriesToReturnSelf extends Object implements Serializable-
Serialized Fields
-
defaultReturn
ReturnsEmptyValues defaultReturn
-
-
-
-
Package org.mockito.internal.util
-
Class org.mockito.internal.util.MockNameImpl
class MockNameImpl extends Object implements Serializable- serialVersionUID:
- 8014974700844306925L
-
Serialized Fields
-
defaultName
boolean defaultName
-
mockName
String mockName
-
-
-
Package org.mockito.internal.verification
-
Class org.mockito.internal.verification.DefaultRegisteredInvocations
class DefaultRegisteredInvocations extends Object implements Serializable- serialVersionUID:
- -2674402327380736290L
-
Serialized Fields
-
invocations
LinkedList<Invocation> invocations
-
-
Class org.mockito.internal.verification.SingleRegisteredInvocation
class SingleRegisteredInvocation extends Object implements Serializable-
Serialized Fields
-
invocation
Invocation invocation
-
-
-
-
Package org.mockito.invocation