Uses of Package
org.mockito.stubbing
Packages that use org.mockito.stubbing
Package
Description
Mockito is a mock library for java - see
Mockito
class for usage.Mockito configuration utilities.
Internal classes, not to be used by clients.
Mockito configuration.
Mock object creation.
ByteBuddy related stuff.
JUnit integration support classes.
Mocking progress stateful classes.
Stubbing logic.
Answers for stubbed calls.
Implementations of default Answers.
Static utils
Public classes relative to the listener APIs.
Mock settings related classes.
Stubbing related classes.
-
Classes in org.mockito.stubbing used by org.mockitoClassDescriptionGeneric interface to be used for configuring mock's answer.Generic interface to be used for configuring mock's answer for a single argument invocation.Generic interface to be used for configuring mock's answer for a two argument invocation.Generic interface to be used for configuring mock's answer for a three argument invocation.Generic interface to be used for configuring mock's answer for a four argument invocation.Generic interface to be used for configuring mock's answer for a five argument invocation.Generic interface to be used for configuring mock's answer for a six argument invocation.Used for declaring optional stubbings with
Mockito.lenient()
Simply put: "When the x method is called then return y".Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() styleStubbing declared on the mock object.Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a two argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a three argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a four argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a five argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a six argument invocation that returns nothing. -
Classes in org.mockito.stubbing used by org.mockito.configuration
-
Classes in org.mockito.stubbing used by org.mockito.internalClassDescriptionUsed for declaring optional stubbings with
Mockito.lenient()
Simply put: "When the x method is called then return y".Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style -
Classes in org.mockito.stubbing used by org.mockito.internal.configuration
-
Classes in org.mockito.stubbing used by org.mockito.internal.creation
-
Classes in org.mockito.stubbing used by org.mockito.internal.creation.bytebuddy
-
Classes in org.mockito.stubbing used by org.mockito.internal.creation.settings
-
Classes in org.mockito.stubbing used by org.mockito.internal.invocation.finder
-
Classes in org.mockito.stubbing used by org.mockito.internal.junit
-
Classes in org.mockito.stubbing used by org.mockito.internal.listeners
-
Classes in org.mockito.stubbing used by org.mockito.internal.progress
-
Classes in org.mockito.stubbing used by org.mockito.internal.stubbingClassDescriptionGeneric interface to be used for configuring mock's answer.Base interface for stubbing consecutive method calls with
Mockito.doReturn(Object)
syntax.Used for declaring optional stubbings withMockito.lenient()
Simply put: "When the x method is called then return y".Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() styleStubbing declared on the mock object. -
Classes in org.mockito.stubbing used by org.mockito.internal.stubbing.answersClassDescriptionGeneric interface to be used for configuring mock's answer.Generic interface to be used for configuring mock's answer for a single argument invocation.Generic interface to be used for configuring mock's answer for a two argument invocation.Generic interface to be used for configuring mock's answer for a three argument invocation.Generic interface to be used for configuring mock's answer for a four argument invocation.Generic interface to be used for configuring mock's answer for a five argument invocation.Generic interface to be used for configuring mock's answer for a six argument invocation.Allow to validate this answer is correct for the given invocation.Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a two argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a three argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a four argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a five argument invocation that returns nothing.Generic interface to be used for configuring mock's answer for a six argument invocation that returns nothing.
-
Classes in org.mockito.stubbing used by org.mockito.internal.stubbing.defaultanswers
-
Classes in org.mockito.stubbing used by org.mockito.internal.util
-
Classes in org.mockito.stubbing used by org.mockito.listeners
-
Classes in org.mockito.stubbing used by org.mockito.mock
-
Classes in org.mockito.stubbing used by org.mockito.stubbingClassDescriptionGeneric interface to be used for configuring mock's answer.Base interface for stubbing consecutive method calls with
Mockito.doReturn(Object)
syntax.Simply put: "When the x method is called then return y".Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style