Uses of Enum
org.mockito.quality.Strictness
Packages that use Strictness
Package
Description
Mockito is a mock library for java - see
Mockito class for usage.Mockito JUnit integration ; rule and runners.
Mock settings related classes.
Mocking quality related classes.
Stubbing related classes.
-
Uses of Strictness in org.mockito
Methods in org.mockito with parameters of type StrictnessModifier and TypeMethodDescriptionvoidMockitoSession.setStrictness(Strictness strictness) Changes the strictness of thisMockitoSession.MockSettings.strictness(Strictness strictness) Specifies strictness level for the mock. -
Uses of Strictness in org.mockito.junit
Methods in org.mockito.junit with parameters of type StrictnessModifier and TypeMethodDescriptionMockitoRule.strictness(Strictness strictness) The strictness, especially "strict stubs" (Strictness.STRICT_STUBS) helps debugging and keeping tests clean.MockitoTestRule.strictness(Strictness strictness) Equivalent toMockitoRule.strictness(Strictness). -
Uses of Strictness in org.mockito.mock
Methods in org.mockito.mock that return StrictnessModifier and TypeMethodDescriptionMockCreationSettings.getStrictness()Sets strictness level for the mock, e.g. -
Uses of Strictness in org.mockito.quality
Subclasses with type arguments of type Strictness in org.mockito.qualityModifier and TypeClassDescriptionenumConfigures the "strictness" of Mockito, affecting the behavior of stubbings and verification.Methods in org.mockito.quality that return StrictnessModifier and TypeMethodDescriptionstatic StrictnessReturns the enum constant of this type with the specified name.static Strictness[]Strictness.values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of Strictness in org.mockito.session
Methods in org.mockito.session with parameters of type StrictnessModifier and TypeMethodDescriptionMockitoSessionBuilder.strictness(Strictness strictness) Configures strictness ofMockitoSessioninstance. -
Uses of Strictness in org.mockito.stubbing
Methods in org.mockito.stubbing that return StrictnessModifier and TypeMethodDescriptionStubbing.getStrictness()Informs about theStrictnesslevel of this stubbing.