Uses of Interface
org.mockito.plugins.MockMaker.ConstructionMockControl
-
Uses of MockMaker.ConstructionMockControl in org.mockito.plugins
Modifier and TypeMethodDescriptiondefault <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.