Uses of Annotation Type
org.mockito.Incubating
Packages that use Incubating
Package
Description
Mockito is a mock library for java - see Mockito class for for usage.
Mockito plugins allow customization of behavior.
-
Uses of Incubating in org.mockito
Methods in org.mockito with annotations of type IncubatingModifier and TypeMethodDescriptionMockSettings.outerInstance(Object outerClassInstance) Makes it possible to mock non-static inner classes in conjunction withMockSettings.useConstructor().static <T> TPlease refer to the documentation ofMockito.spy(Object).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 IncubatingMethods in org.mockito.mock with annotations of type IncubatingModifier and TypeMethodDescriptionMockCreationSettings.getOuterClassInstance()Used when mocking non-static inner classes in conjunction withMockCreationSettings.isUsingConstructor()booleanMockCreationSettings.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 IncubatingModifier and TypeInterfaceDescriptioninterfaceAllows switching off the plugins that are discovered on classpath.