Uses of Class
org.mockito.quality.Strictness
-
Packages that use Strictness Package Description org.mockito Mockito is a mock library for java - seeMockitoclass for usage.org.mockito.junit Mockito JUnit integration ; rule and runners.org.mockito.mock Mock settings related classes.org.mockito.quality Mocking quality related classes.org.mockito.session org.mockito.stubbing Stubbing related classes. -
-
Uses of Strictness in org.mockito
Methods in org.mockito with parameters of type Strictness Modifier and Type Method Description voidMockitoSession. setStrictness(Strictness strictness)Changes the strictness of thisMockitoSession.MockSettingsMockSettings. 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 Strictness Modifier and Type Method Description MockitoRuleMockitoRule. strictness(Strictness strictness)The strictness, especially "strict stubs" (STRICT_STUBS) helps debugging and keeping tests clean.MockitoTestRuleMockitoTestRule. strictness(Strictness strictness)Equivalent toMockitoRule.strictness(Strictness). -
Uses of Strictness in org.mockito.mock
Methods in org.mockito.mock that return Strictness Modifier and Type Method Description StrictnessMockCreationSettings. getStrictness()Sets strictness level for the mock, e.g. -
Uses of Strictness in org.mockito.quality
Methods in org.mockito.quality that return Strictness Modifier and Type Method Description static StrictnessStrictness. valueOf(String name)Returns 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 Strictness Modifier and Type Method Description MockitoSessionBuilderMockitoSessionBuilder. strictness(Strictness strictness)Configures strictness ofMockitoSessioninstance. -
Uses of Strictness in org.mockito.stubbing
Methods in org.mockito.stubbing that return Strictness Modifier and Type Method Description StrictnessStubbing. getStrictness()Informs about theStrictnesslevel of this stubbing.
-