Class InlineDelegateByteBuddyMockMaker.InlineStaticMockControl<T>
java.lang.Object
org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.InlineStaticMockControl<T>
- All Implemented Interfaces:
MockMaker.StaticMockControl<T>
- Enclosing class:
- InlineDelegateByteBuddyMockMaker
private static class InlineDelegateByteBuddyMockMaker.InlineStaticMockControl<T>
extends Object
implements MockMaker.StaticMockControl<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MockHandler
private final Map<Class<?>,
MockMethodInterceptor> private final MockCreationSettings<T>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
InlineStaticMockControl
(Class<T> type, Map<Class<?>, MockMethodInterceptor> interceptors, MockCreationSettings<T> settings, MockHandler handler) -
Method Summary
-
Field Details
-
type
-
interceptors
-
settings
-
handler
-
-
Constructor Details
-
InlineStaticMockControl
private InlineStaticMockControl(Class<T> type, Map<Class<?>, MockMethodInterceptor> interceptors, MockCreationSettings<T> settings, MockHandler handler)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceMockMaker.StaticMockControl<T>
-
enable
public void enable()- Specified by:
enable
in interfaceMockMaker.StaticMockControl<T>
-
disable
public void disable()- Specified by:
disable
in interfaceMockMaker.StaticMockControl<T>
-