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

R

rawExtraInterfaces() - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport
 
rawType() - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport
 
read() - Method in class org.mockito.internal.util.reflection.FieldReader
 
read() - Method in class org.mockito.internal.util.reflection.InstanceField
Safely read the field.
readLines(InputStream) - Static method in class org.mockito.internal.util.io.IOUtil
 
RealMethod - Interface in org.mockito.internal.invocation.realmethod
 
refEq(T, String...) - Static method in class org.mockito.Matchers
Object argument that is reflection-equal to the given value with support for excluding selected fields from a class.
ReflectionEquals - Class in org.mockito.internal.matchers.apachecommons
 
ReflectionEquals(Object, String...) - Constructor for class org.mockito.internal.matchers.apachecommons.ReflectionEquals
 
RegisteredInvocations - Interface in org.mockito.internal.verification
 
registerTypeParametersOn(TypeVariable[]) - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport
 
registerTypeVariablesOn(Type) - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport
 
remove(Object) - Method in class org.mockito.internal.util.collections.HashCodeAndEqualsSafeSet
 
removeAll(Collection<?>) - Method in class org.mockito.internal.util.collections.HashCodeAndEqualsSafeSet
 
RemoveFirstLine - Class in org.mockito.internal.util
 
RemoveFirstLine() - Constructor for class org.mockito.internal.util.RemoveFirstLine
 
removeLast() - Method in class org.mockito.internal.verification.DefaultRegisteredInvocations
 
removeLast() - Method in interface org.mockito.internal.verification.RegisteredInvocations
 
removeLast() - Method in class org.mockito.internal.verification.SingleRegisteredInvocation
 
reportAnd() - Method in interface org.mockito.internal.progress.ArgumentMatcherStorage
 
reportAnd() - Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl
 
Reporter - Class in org.mockito.exceptions
Reports verification and misusing errors.
reportInvocation(MethodInvocationReport) - Method in class org.mockito.internal.debugging.VerboseMockInvocationLogger
 
reportInvocation(MethodInvocationReport) - Method in interface org.mockito.listeners.InvocationListener
Called after the invocation of the listener's mock if it returned normally.
reportMatcher(ArgumentMatcher<?>) - Method in interface org.mockito.internal.progress.ArgumentMatcherStorage
 
reportMatcher(ArgumentMatcher) - Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl
 
reportNoSubMatchersFound(String) - Static method in class org.mockito.exceptions.Reporter
 
reportNot() - Method in interface org.mockito.internal.progress.ArgumentMatcherStorage
 
reportNot() - Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl
 
reportOngoingStubbing(OngoingStubbing<?>) - Method in interface org.mockito.internal.progress.MockingProgress
 
reportOngoingStubbing(OngoingStubbing) - Method in class org.mockito.internal.progress.MockingProgressImpl
 
reportOngoingStubbing(OngoingStubbing<?>) - Method in class org.mockito.internal.progress.ThreadSafeMockingProgress
 
reportOr() - Method in interface org.mockito.internal.progress.ArgumentMatcherStorage
 
reportOr() - Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl
 
reset(T...) - Method in class org.mockito.internal.MockitoCore
 
reset() - Method in interface org.mockito.internal.progress.ArgumentMatcherStorage
 
reset() - Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl
 
reset() - Method in interface org.mockito.internal.progress.MockingProgress
 
reset() - Method in class org.mockito.internal.progress.MockingProgressImpl
 
reset() - Method in class org.mockito.internal.progress.ThreadSafeMockingProgress
 
reset(T...) - Static method in class org.mockito.Mockito
Smart Mockito users hardly use this feature because they know it could be a sign of poor tests.
resetInvocationForPotentialStubbing(InvocationMatcher) - Method in class org.mockito.internal.stubbing.InvocationContainerImpl
 
resetMock(Object, MockHandler, MockCreationSettings) - Method in class org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker
 
resetMock(T) - Method in class org.mockito.internal.util.MockUtil
 
resetMock(Object, MockHandler, MockCreationSettings) - Method in interface org.mockito.plugins.MockMaker
Replaces the existing handler on mock with newHandler.
resetOngoingStubbing() - Method in interface org.mockito.internal.progress.MockingProgress
Removes ongoing stubbing so that in case the framework is misused state validation errors are more accurate
resetOngoingStubbing() - Method in class org.mockito.internal.progress.MockingProgressImpl
 
resetOngoingStubbing() - Method in class org.mockito.internal.progress.ThreadSafeMockingProgress
 
resolveGenericReturnType(Method) - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport
Resolve current method generic return type to a GenericMetadataSupport.
resolveTypeInstances(Class<?>...) - Method in interface org.mockito.internal.util.reflection.FieldInitializer.ConstructorArgumentResolver
Try to resolve instances from types.
retainAll(Collection<?>) - Method in class org.mockito.internal.util.collections.HashCodeAndEqualsSafeSet
 
returnedTypeOnSignature(InvocationOnMock) - Method in class org.mockito.internal.stubbing.answers.ReturnsArgumentAt
 
Returns - Class in org.mockito.internal.stubbing.answers
 
Returns(Object) - Constructor for class org.mockito.internal.stubbing.answers.Returns
 
RETURNS_DEEP_STUBS - Static variable in class org.mockito.Mockito
Optional Answer to be used with Mockito.mock(Class, Answer).
RETURNS_DEFAULTS - Static variable in class org.mockito.Mockito
The default Answer of every mock if the mock was not stubbed.
RETURNS_MOCKS - Static variable in class org.mockito.Mockito
Optional Answer to be used with Mockito.mock(Class, Answer)
RETURNS_SELF - Static variable in class org.mockito.Mockito
Optional Answer to be used with Mockito.mock(Class, Answer).
RETURNS_SMART_NULLS - Static variable in class org.mockito.Mockito
Optional Answer to be used with Mockito.mock(Class, Answer).
returnsArgAt(int) - Static method in class org.mockito.AdditionalAnswers
Returns the parameter of an invocation at the given position.
ReturnsArgumentAt - Class in org.mockito.internal.stubbing.answers
Returns the passed parameter identity at specified index.
ReturnsArgumentAt(int) - Constructor for class org.mockito.internal.stubbing.answers.ReturnsArgumentAt
Build the identity answer to return the argument at the given position in the argument array.
ReturnsDeepStubs - Class in org.mockito.internal.stubbing.defaultanswers
Returning deep stub implementation.
ReturnsDeepStubs() - Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsDeepStubs
 
returnsElementsOf(Collection<?>) - Static method in class org.mockito.AdditionalAnswers
Returns elements of the collection.
ReturnsElementsOf - Class in org.mockito.internal.stubbing.answers
Returns elements of the collection.
ReturnsElementsOf(Collection<?>) - Constructor for class org.mockito.internal.stubbing.answers.ReturnsElementsOf
 
ReturnsEmptyValues - Class in org.mockito.internal.stubbing.defaultanswers
Default answer of every Mockito mock.
ReturnsEmptyValues() - Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues
 
returnsFirstArg() - Static method in class org.mockito.AdditionalAnswers
Returns the first parameter of an invocation.
returnsLastArg() - Static method in class org.mockito.AdditionalAnswers
Returns the last parameter of an invocation.
ReturnsMocks - Class in org.mockito.internal.stubbing.defaultanswers
 
ReturnsMocks() - Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsMocks
 
ReturnsMoreEmptyValues - Class in org.mockito.internal.stubbing.defaultanswers
It's likely this implementation will be used by default by every Mockito 2.0 mock.
ReturnsMoreEmptyValues() - Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValues
 
returnsNull() - Method in class org.mockito.internal.stubbing.answers.Returns
 
returnsPrimitive() - Method in class org.mockito.internal.stubbing.answers.MethodInfo
 
returnsSecondArg() - Static method in class org.mockito.AdditionalAnswers
Returns the second parameter of an invocation.
ReturnsSmartNulls - Class in org.mockito.internal.stubbing.defaultanswers
Optional Answer that can be used with Mockito.mock(Class, Answer)
ReturnsSmartNulls() - Constructor for class org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls
 
rule() - Static method in class org.mockito.junit.MockitoJUnit
Creates rule instance that initiates @Mocks See MockitoRule.
run(RunNotifier) - Method in class org.mockito.internal.runners.JUnit45AndHigherRunnerImpl
 
run(RunNotifier) - Method in interface org.mockito.internal.runners.RunnerImpl
 
run(RunNotifier) - Method in class org.mockito.runners.ConsoleSpammingMockitoJUnitRunner
 
run(RunNotifier) - Method in class org.mockito.runners.MockitoJUnitRunner
 
run(RunNotifier) - Method in class org.mockito.runners.VerboseMockitoJUnitRunner
 
RunnerFactory - Class in org.mockito.internal.runners
 
RunnerFactory() - Constructor for class org.mockito.internal.runners.RunnerFactory
 
RunnerImpl - Interface in org.mockito.internal.runners
I'm using this surrogate interface to hide internal Runner implementations.
RunnerProvider - Class in org.mockito.internal.runners.util
 
RunnerProvider() - Constructor for class org.mockito.internal.runners.util.RunnerProvider
 
A B C D E F G H I J L M N O P R S T U V W 
Mockito 2.0.74-beta API