Uses of Interface
org.mockito.plugins.MockMaker.ConstructionMockControl
-
Packages that use MockMaker.ConstructionMockControl Package Description org.mockito.internal Internal classes, not to be used by clients.org.mockito.internal.creation.bytebuddy ByteBuddy related stuff.org.mockito.internal.util Static utilsorg.mockito.plugins Mockito plugins allow customization of behavior. -
-
Uses of MockMaker.ConstructionMockControl in org.mockito.internal
Fields in org.mockito.internal declared as MockMaker.ConstructionMockControl Modifier and Type Field Description private MockMaker.ConstructionMockControl<T>
MockedConstructionImpl. control
Constructors in org.mockito.internal with parameters of type MockMaker.ConstructionMockControl Constructor Description MockedConstructionImpl(MockMaker.ConstructionMockControl<T> control)
-
Uses of MockMaker.ConstructionMockControl in org.mockito.internal.creation.bytebuddy
Classes in org.mockito.internal.creation.bytebuddy that implement MockMaker.ConstructionMockControl Modifier and Type Class Description private class
InlineDelegateByteBuddyMockMaker.InlineConstructionMockControl<T>
Methods in org.mockito.internal.creation.bytebuddy that return MockMaker.ConstructionMockControl Modifier and Type Method Description <T> MockMaker.ConstructionMockControl<T>
ByteBuddyMockMaker. createConstructionMock(java.lang.Class<T> type, java.util.function.Function<MockedConstruction.Context,MockCreationSettings<T>> settingsFactory, java.util.function.Function<MockedConstruction.Context,MockHandler<T>> handlerFactory, MockedConstruction.MockInitializer<T> mockInitializer)
<T> MockMaker.ConstructionMockControl<T>
InlineByteBuddyMockMaker. createConstructionMock(java.lang.Class<T> type, java.util.function.Function<MockedConstruction.Context,MockCreationSettings<T>> settingsFactory, java.util.function.Function<MockedConstruction.Context,MockHandler<T>> handlerFactory, MockedConstruction.MockInitializer<T> mockInitializer)
<T> MockMaker.ConstructionMockControl<T>
InlineDelegateByteBuddyMockMaker. createConstructionMock(java.lang.Class<T> type, java.util.function.Function<MockedConstruction.Context,MockCreationSettings<T>> settingsFactory, java.util.function.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.ConstructionMockControl Modifier and Type Method Description static <T> MockMaker.ConstructionMockControl<T>
MockUtil. createConstructionMock(java.lang.Class<T> type, java.util.function.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.ConstructionMockControl Modifier and Type Method Description default <T> MockMaker.ConstructionMockControl<T>
MockMaker. createConstructionMock(java.lang.Class<T> type, java.util.function.Function<MockedConstruction.Context,MockCreationSettings<T>> settingsFactory, java.util.function.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.
-