Uses of Class
org.mockito.Incubating
-
Packages that use Incubating Package Description org.mockito Mockito is a mock library for java - see Mockito class for for usage.org.mockito.mock org.mockito.plugins Mockito plugins allow customization of behavior. -
-
Uses of Incubating in org.mockito
Methods in org.mockito with annotations of type Incubating Modifier and Type Method Description MockSettings
MockSettings. outerInstance(java.lang.Object outerClassInstance)
Makes it possible to mock non-static inner classes in conjunction withMockSettings.useConstructor()
.static <T> T
Mockito. spy(java.lang.Class<T> classToSpy)
Please refer to the documentation ofMockito.spy(Object)
.MockSettings
MockSettings. useConstructor()
Mockito attempts to use constructor when creating instance of the mock. -
Uses of Incubating in org.mockito.mock
Classes in org.mockito.mock with annotations of type Incubating Modifier and Type Class Description class
SerializableMode
Mock serializable style.Methods in org.mockito.mock with annotations of type Incubating Modifier and Type Method Description java.lang.Object
MockCreationSettings. getOuterClassInstance()
Used when mocking non-static inner classes in conjunction withMockCreationSettings.isUsingConstructor()
boolean
MockCreationSettings. isUsingConstructor()
Informs whether the mock instance should be created via constructor -
Uses of Incubating in org.mockito.plugins
Classes in org.mockito.plugins with annotations of type Incubating Modifier and Type Interface Description interface
PluginSwitch
Allows switching off the plugins that are discovered on classpath.
-