Skip navigation links
Mockito 2.25.0 API
A B C D E F G H I L M N O P R S T U V W 


same(T) - Static method in class org.mockito.ArgumentMatchers
Object argument that is the same as the given value.
serializable() - Method in interface org.mockito.MockSettings
Configures the mock to be serializable.
serializable(SerializableMode) - Method in interface org.mockito.MockSettings
Configures the mock to be serializable with a specific serializable mode.
SerializableMode - Enum in org.mockito.mock
Mock serializable style.
setMock(Object) - Method in interface org.mockito.listeners.VerificationStartedEvent
Replaces existing mock object for verification with a different one.
setStrictness(Strictness) - Method in interface org.mockito.MockitoSession
Changes the strictness of this MockitoSession.
shortThat(ArgumentMatcher<Short>) - Static method in class org.mockito.ArgumentMatchers
Allows creating custom short argument matchers.
shortThat(Matcher<Short>) - Static method in class org.mockito.hamcrest.MockitoHamcrest
Enables integrating hamcrest matchers that match primitive short arguments.
should() - Method in interface org.mockito.BDDMockito.Then
should(VerificationMode) - Method in interface org.mockito.BDDMockito.Then
should(InOrder) - Method in interface org.mockito.BDDMockito.Then
should(InOrder, VerificationMode) - Method in interface org.mockito.BDDMockito.Then
shouldHaveNoMoreInteractions() - Method in interface org.mockito.BDDMockito.Then
shouldHaveZeroInteractions() - Method in interface org.mockito.BDDMockito.Then
Silent(Class<?>) - Constructor for class org.mockito.junit.MockitoJUnitRunner.Silent
silent() - Method in interface org.mockito.junit.MockitoRule
Rule will not report stubbing warnings during test execution.
Silent(Class<?>) - Constructor for class org.mockito.runners.MockitoJUnitRunner.Silent
SmartNullPointerException - Exception in org.mockito.exceptions.verification
SmartNullPointerException(String) - Constructor for exception org.mockito.exceptions.verification.SmartNullPointerException
spiedInstance(Object) - Method in interface org.mockito.MockSettings
Specifies the instance to spy on.
spy(T) - Static method in class org.mockito.Mockito
Creates a spy of the real object.
spy(Class<T>) - Static method in class org.mockito.Mockito
Please refer to the documentation of Mockito.spy(Object).
Spy - Annotation Type in org.mockito
Allows shorthand wrapping of field instances in an spy object.
StackTraceCleaner - Interface in org.mockito.exceptions.stacktrace
Decides if particular StackTraceElement is excluded from the human-readable stack trace output.
StackTraceCleanerProvider - Interface in org.mockito.plugins
An extension point to register custom StackTraceCleaner.
startMocking() - Method in interface org.mockito.session.MockitoSessionBuilder
Starts new mocking session! Creates new MockitoSession instance to initialize the session.
startsWith(String) - Static method in class org.mockito.ArgumentMatchers
String argument that starts with the given prefix.
Strict(Class<?>) - Constructor for class org.mockito.junit.MockitoJUnitRunner.Strict
Strict(Class<?>) - Constructor for class org.mockito.runners.MockitoJUnitRunner.Strict
strictness(Strictness) - Method in interface org.mockito.junit.MockitoRule
The strictness, especially "strict stubs" (Strictness.STRICT_STUBS) helps debugging and keeping tests clean.
Strictness - Enum in org.mockito.quality
Configures the "strictness" of Mockito, affecting the behavior of stubbings and verification.
strictness(Strictness) - Method in interface org.mockito.session.MockitoSessionBuilder
Configures strictness of MockitoSession instance.
StrictStubs(Class<?>) - Constructor for class org.mockito.junit.MockitoJUnitRunner.StrictStubs
stubbedAt() - Method in interface org.mockito.invocation.StubInfo
Stubber - Interface in org.mockito.stubbing
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
Stubbing - Interface in org.mockito.stubbing
Stubbing declared on the mock object.
StubbingLookupEvent - Interface in org.mockito.listeners
Represent an information about the looked up stubbing
StubbingLookupListener - Interface in org.mockito.listeners
When a method is called on a mock object Mockito looks up any stubbings recorded on that mock.
stubbingLookupListeners(StubbingLookupListener...) - Method in interface org.mockito.MockSettings
Add stubbing lookup listener to the mock object.
stubInfo() - Method in interface org.mockito.invocation.Invocation
StubInfo - Interface in org.mockito.invocation
The information about stubbing, for example the location of stubbing.
stubOnly() - Method in interface org.mockito.MockSettings
A stub-only mock does not record method invocations, thus saving memory but disallowing verification of invocations.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links
Mockito 2.25.0 API