Uses of Interface
org.mockito.plugins.MockMaker.ConstructionMockControl
-
Packages that use MockMaker.ConstructionMockControl Package Description org.mockito.plugins Mockito plugins allow customization of behavior. -
-
Uses of MockMaker.ConstructionMockControl in org.mockito.plugins
Methods in org.mockito.plugins that return MockMaker.ConstructionMockControl Modifier and Type Method Description default <T> MockMaker.ConstructionMockControl<T>
MockMaker. createConstructionMock(Class<T> type, Function<MockedConstruction.Context,MockCreationSettings<T>> settingsFactory, Function<MockedConstruction.Context,MockHandler<T>> handlerFactory, MockedConstruction.MockInitializer<T> mockInitializer)
If you want to provide your own implementation ofMockMaker
this method should: Intercept all constructions of the specified type in the current thread Only intercept the construction after being enabled. Stops the interception when disabled.
-