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 MockHandlerprivate final Map<Class<?>, MockMethodInterceptor> private final MockCreationSettings<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateInlineStaticMockControl(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:
getTypein interfaceMockMaker.StaticMockControl<T>
-
enable
public void enable()- Specified by:
enablein interfaceMockMaker.StaticMockControl<T>
-
disable
public void disable()- Specified by:
disablein interfaceMockMaker.StaticMockControl<T>
-