- OngoingStubbing<T> - Interface in org.mockito.stubbing
-
Simply put: "When the x method is called then return y".
- only() - Static method in class org.mockito.Mockito
-
Allows checking if given method was the only one invoked.
- only() - Method in interface org.mockito.verification.VerificationAfterDelay
-
Verifies that there the given method is invoked and is the only method invoked.
- only() - Method in interface org.mockito.verification.VerificationWithTimeout
-
Allows checking if given method was the only one invoked.
- onMockCreated(Object, MockCreationSettings) - Method in interface org.mockito.listeners.MockCreationListener
-
Mock object was just created.
- or(boolean, boolean) - Static method in class org.mockito.AdditionalMatchers
-
boolean argument that matches any of the given argument matchers.
- or(T, T) - Static method in class org.mockito.AdditionalMatchers
-
Object argument that matches any of the given argument matchers.
- or(short, short) - Static method in class org.mockito.AdditionalMatchers
-
short argument that matches any of the given argument matchers.
- or(long, long) - Static method in class org.mockito.AdditionalMatchers
-
long argument that matches any of the given argument matchers.
- or(int, int) - Static method in class org.mockito.AdditionalMatchers
-
int argument that matches any of the given argument matchers.
- or(float, float) - Static method in class org.mockito.AdditionalMatchers
-
float argument that matches any of the given argument matchers.
- or(double, double) - Static method in class org.mockito.AdditionalMatchers
-
double argument that matches any of the given argument matchers.
- or(char, char) - Static method in class org.mockito.AdditionalMatchers
-
char argument that matches any of the given argument matchers.
- or(byte, byte) - Static method in class org.mockito.AdditionalMatchers
-
byte argument that matches any of the given argument matchers.
- org.mockito - package org.mockito
-
Mockito is a mock library for java - see Mockito class for for usage.
- org.mockito.configuration - package org.mockito.configuration
-
Mockito configuration utilities
- org.mockito.exceptions.base - package org.mockito.exceptions.base
-
Base classes for exceptions and errors, stack trace filtering/removing logic.
- org.mockito.exceptions.misusing - package org.mockito.exceptions.misusing
-
Exceptions thrown when Mockito is misused.
- org.mockito.exceptions.stacktrace - package org.mockito.exceptions.stacktrace
-
Stack trace filtering / cleaning public APIs.
- org.mockito.exceptions.verification - package org.mockito.exceptions.verification
-
Verification errors.
- org.mockito.exceptions.verification.junit - package org.mockito.exceptions.verification.junit
-
JUnit integration to provide better support for junit runners in IDEs.
- org.mockito.hamcrest - package org.mockito.hamcrest
-
- org.mockito.invocation - package org.mockito.invocation
-
Public API related to invocation
- org.mockito.junit - package org.mockito.junit
-
- org.mockito.listeners - package org.mockito.listeners
-
Public classes relative to the call listener.
- org.mockito.mock - package org.mockito.mock
-
- org.mockito.plugins - package org.mockito.plugins
-
Mockito plugins allow customization of behavior.
- org.mockito.quality - package org.mockito.quality
-
- org.mockito.runners - package org.mockito.runners
-
JUnit runners.
- org.mockito.stubbing - package org.mockito.stubbing
-
External stubbing related classes
- org.mockito.verification - package org.mockito.verification
-
- outerInstance(Object) - Method in interface org.mockito.MockSettings
-