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.
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.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