Uses of Interface
org.mockito.plugins.MockMaker.ConstructionMockControl
Packages that use MockMaker.ConstructionMockControl
Package
Description
Internal classes, not to be used by clients.
ByteBuddy related stuff.
Static utils
Mockito plugins allow customization of behavior.
-
Uses of MockMaker.ConstructionMockControl in org.mockito.internal
Fields in org.mockito.internal declared as MockMaker.ConstructionMockControlModifier and TypeFieldDescriptionprivate final MockMaker.ConstructionMockControl
<T> MockedConstructionImpl.control
Constructors in org.mockito.internal with parameters of type MockMaker.ConstructionMockControlModifierConstructorDescriptionprotected
-
Uses of MockMaker.ConstructionMockControl in org.mockito.internal.creation.bytebuddy
Classes in org.mockito.internal.creation.bytebuddy that implement MockMaker.ConstructionMockControlModifier and TypeClassDescriptionprivate class
Methods in org.mockito.internal.creation.bytebuddy that return MockMaker.ConstructionMockControlModifier and TypeMethodDescriptionByteBuddyMockMaker.createConstructionMock
(Class<T> type, Function<MockedConstruction.Context, MockCreationSettings<T>> settingsFactory, Function<MockedConstruction.Context, MockHandler<T>> handlerFactory, MockedConstruction.MockInitializer<T> mockInitializer) InlineByteBuddyMockMaker.createConstructionMock
(Class<T> type, Function<MockedConstruction.Context, MockCreationSettings<T>> settingsFactory, Function<MockedConstruction.Context, MockHandler<T>> handlerFactory, MockedConstruction.MockInitializer<T> mockInitializer) InlineDelegateByteBuddyMockMaker.createConstructionMock
(Class<T> type, Function<MockedConstruction.Context, MockCreationSettings<T>> settingsFactory, Function<MockedConstruction.Context, MockHandler<T>> handlerFactory, MockedConstruction.MockInitializer<T> mockInitializer) -
Uses of MockMaker.ConstructionMockControl in org.mockito.internal.util
Methods in org.mockito.internal.util that return MockMaker.ConstructionMockControlModifier and TypeMethodDescriptionstatic <T> MockMaker.ConstructionMockControl
<T> MockUtil.createConstructionMock
(Class<T> type, Function<MockedConstruction.Context, MockCreationSettings<T>> settingsFactory, MockedConstruction.MockInitializer<T> mockInitializer) -
Uses of MockMaker.ConstructionMockControl in org.mockito.plugins
Methods in org.mockito.plugins that return MockMaker.ConstructionMockControlModifier 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.