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

D

decamelizeMatcher(String) - Static method in class org.mockito.internal.util.Decamelizer
 
Decamelizer - Class in org.mockito.internal.util
 
Decamelizer() - Constructor for class org.mockito.internal.util.Decamelizer
 
declaredFieldsOf(Object) - Static method in class org.mockito.internal.util.reflection.Fields
Instance fields declared in the class of the given instance.
DefaultAnnotationEngine - Class in org.mockito.internal.configuration
Initializes fields annotated with @Mock or @Captor.
DefaultAnnotationEngine() - Constructor for class org.mockito.internal.configuration.DefaultAnnotationEngine
 
defaultAnswer(Answer) - Method in class org.mockito.internal.creation.MockSettingsImpl
 
defaultAnswer - Variable in class org.mockito.internal.creation.settings.CreationSettings
 
defaultAnswer(Answer) - Method in interface org.mockito.MockSettings
Specifies default answers to interactions.
defaultAnswerDoesNotAcceptNullParameter() - Static method in class org.mockito.exceptions.Reporter
 
DefaultInjectionEngine - Class in org.mockito.internal.configuration
Inject mock/spies dependencies for fields annotated with @InjectMocks

See MockitoAnnotations

DefaultInjectionEngine() - Constructor for class org.mockito.internal.configuration.DefaultInjectionEngine
 
DefaultInstantiatorProvider - Class in org.mockito.internal.creation.instance
 
DefaultInstantiatorProvider() - Constructor for class org.mockito.internal.creation.instance.DefaultInstantiatorProvider
 
DefaultMockingDetails - Class in org.mockito.internal.util
Class to inspect any object, and identify whether a particular object is either a mock or a spy.
DefaultMockingDetails(Object, MockUtil) - Constructor for class org.mockito.internal.util.DefaultMockingDetails
 
DefaultMockitoConfiguration - Class in org.mockito.configuration
DefaultConfiguration of Mockito framework
DefaultMockitoConfiguration() - Constructor for class org.mockito.configuration.DefaultMockitoConfiguration
 
DefaultRealMethod - Class in org.mockito.internal.invocation.realmethod
 
DefaultRealMethod(MockitoMethodProxy) - Constructor for class org.mockito.internal.invocation.realmethod.DefaultRealMethod
 
DefaultRegisteredInvocations - Class in org.mockito.internal.verification
 
DefaultRegisteredInvocations() - Constructor for class org.mockito.internal.verification.DefaultRegisteredInvocations
 
DefaultStackTraceCleaner - Class in org.mockito.internal.exceptions.stacktrace
This predicate is used to filter "good" StackTraceElement.
DefaultStackTraceCleaner() - Constructor for class org.mockito.internal.exceptions.stacktrace.DefaultStackTraceCleaner
 
DefaultStackTraceCleanerProvider - Class in org.mockito.internal.exceptions.stacktrace
by Szczepan Faber, created at: 7/29/12
DefaultStackTraceCleanerProvider() - Constructor for class org.mockito.internal.exceptions.stacktrace.DefaultStackTraceCleanerProvider
 
defaultValue(Class<T>) - Static method in class org.mockito.internal.util.Primitives
Returns the boxed default value for a primitive or a primitive wrapper.
delegatedMethodDoesNotExistOnDelegate(Method, Object, Object) - Static method in class org.mockito.exceptions.Reporter
 
delegatedMethodHasWrongReturnType(Method, Method, Object, Object) - Static method in class org.mockito.exceptions.Reporter
 
delegatesTo(Object) - Static method in class org.mockito.AdditionalAnswers
An answer that directly forwards the calls to the delegate.
DelegatingMethod - Class in org.mockito.internal.creation
 
DelegatingMethod(Method) - Constructor for class org.mockito.internal.creation.DelegatingMethod
 
DescribedInvocation - Interface in org.mockito.invocation
Provides information about the invocation, specifically a human readable description and the location.
description(String) - Method in class org.mockito.internal.verification.AtLeast
 
description(String) - Method in class org.mockito.internal.verification.AtMost
 
description(String) - Method in class org.mockito.internal.verification.Calls
 
Description - Class in org.mockito.internal.verification
Description verification mode wraps an existing verification mode and prepends a custom message to the assertion error if verification fails.
Description(VerificationMode, String) - Constructor for class org.mockito.internal.verification.Description
Constructs a verification mode which wraps the given verification mode.
description(String) - Method in class org.mockito.internal.verification.Description
 
description(String) - Method in class org.mockito.internal.verification.InOrderWrapper
 
description(String) - Method in class org.mockito.internal.verification.MockAwareVerificationMode
 
description(String) - Method in class org.mockito.internal.verification.NoMoreInteractions
 
description(String) - Method in class org.mockito.internal.verification.Only
 
description(String) - Method in class org.mockito.internal.verification.Times
 
description(VerificationMode, String) - Static method in class org.mockito.internal.verification.VerificationModeFactory
Verification mode will prepend the specified failure message if verification fails with the given implementation.
description(String) - Method in class org.mockito.internal.verification.VerificationOverTimeImpl
 
description(String) - Static method in class org.mockito.Mockito
Adds a description to be printed if verification fails.
description(String) - Method in class org.mockito.verification.After
 
description(String) - Method in class org.mockito.verification.Timeout
 
description(String) - Method in interface org.mockito.verification.VerificationMode
Description will be prepended to the assertion error if verification fails.
description(String) - Method in class org.mockito.verification.VerificationWrapperInOrderWrapper
 
Discrepancy - Class in org.mockito.internal.reporting
 
Discrepancy(int, int) - Constructor for class org.mockito.internal.reporting.Discrepancy
 
doAnswer(Answer) - Method in class org.mockito.internal.stubbing.StubberImpl
 
doAnswer(Answer) - Static method in class org.mockito.Mockito
Use doAnswer() when you want to stub a void method with generic Answer.
doAnswer(Answer) - Method in interface org.mockito.stubbing.Stubber
Use it for stubbing consecutive calls in Mockito.doAnswer(Answer) style:

   doAnswer(answerOne).
doCallRealMethod() - Method in class org.mockito.internal.stubbing.StubberImpl
 
doCallRealMethod() - Static method in class org.mockito.Mockito
Use doCallRealMethod() when you want to call the real implementation of a method.
doCallRealMethod() - Method in interface org.mockito.stubbing.Stubber
Use it for stubbing consecutive calls in Mockito.doCallRealMethod() style.
DoesNothing - Class in org.mockito.internal.stubbing.answers
 
DoesNothing() - Constructor for class org.mockito.internal.stubbing.answers.DoesNothing
 
doIdentityEquals(Object, Object) - Static method in class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.ForEquals
 
doIdentityHashCode(Object) - Static method in class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.ForHashCode
 
doNothing() - Method in class org.mockito.internal.stubbing.StubberImpl
 
doNothing() - Static method in class org.mockito.Mockito
Use doNothing() for setting void methods to do nothing.
doNothing() - Method in interface org.mockito.stubbing.Stubber
Use it for stubbing consecutive calls in Mockito.doNothing() style:

   doNothing().
doReturn(Object) - Method in class org.mockito.internal.stubbing.StubberImpl
 
doReturn(Object, Object...) - Method in class org.mockito.internal.stubbing.StubberImpl
 
doReturn(Object) - Static method in class org.mockito.Mockito
Use doReturn() in those rare occasions when you cannot use Mockito.when(Object).
doReturn(Object, Object...) - Static method in class org.mockito.Mockito
Same as Mockito.doReturn(Object) but sets consecutive values to be returned.
doReturn(Object) - Method in interface org.mockito.stubbing.Stubber
Use it for stubbing consecutive calls in Mockito.doReturn(Object) style.
doReturn(Object, Object...) - Method in interface org.mockito.stubbing.Stubber
Use it for stubbing consecutive calls in Mockito.doReturn(Object) style.
doThrow(Throwable...) - Method in class org.mockito.internal.stubbing.StubberImpl
 
doThrow(Class<? extends Throwable>) - Method in class org.mockito.internal.stubbing.StubberImpl
 
doThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Method in class org.mockito.internal.stubbing.StubberImpl
 
doThrow(Throwable...) - Static method in class org.mockito.Mockito
Use doThrow() when you want to stub the void method with an exception.
doThrow(Class<? extends Throwable>) - Static method in class org.mockito.Mockito
Use doThrow() when you want to stub the void method with an exception.
doThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Static method in class org.mockito.Mockito
Same as Mockito.doThrow(Class) but sets consecutive exception classes to be thrown.
doThrow(Throwable...) - Method in interface org.mockito.stubbing.Stubber
Use it for stubbing consecutive calls in Mockito.doThrow(Throwable[]) style:

   doThrow(new RuntimeException("one")).
doThrow(Class<? extends Throwable>) - Method in interface org.mockito.stubbing.Stubber
Use it for stubbing consecutive calls in Mockito.doThrow(Class) style:

   doThrow(RuntimeException.class).
doThrow(Class<? extends Throwable>, Class<? extends Throwable>...) - Method in interface org.mockito.stubbing.Stubber
Use it for stubbing consecutive calls in Mockito.doThrow(Class) style:

   doThrow(RuntimeException.class).
doubleThat(Matcher<Double>) - Static method in class org.mockito.hamcrest.MockitoHamcrest
Enables integrating hamcrest matchers that match primitive double arguments.
doubleThat(ArgumentMatcher<Double>) - Static method in class org.mockito.Matchers
Allows creating custom double argument matchers.
doWriteReplace(MockMethodInterceptor.MockAccess) - Static method in class org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.ForWriteReplace
 
duration() - Method in class org.mockito.internal.util.Timer
 
A B C D E F G H I J L M N O P R S T U V W 
Mockito 2.0.73-beta API