Package org.powermock.core.spi
Interface MethodInvocationControl
-
- All Superinterfaces:
DefaultBehavior
,java.lang.reflect.InvocationHandler
- All Known Implementing Classes:
EasyMockMethodInvocationControl
,MockitoMethodInvocationControl
public interface MethodInvocationControl extends java.lang.reflect.InvocationHandler, DefaultBehavior
The purpose of a method invocation control is to invoke a proxy to simulate a method call. It also has functionality to replay and verify mocks (which may not be needed for certain invocation controls) and to check whether a certain method is mocked or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isMocked(java.lang.reflect.Method method)
Determine whether a certain method is mocked by this Invocation Control.-
Methods inherited from interface org.powermock.core.spi.DefaultBehavior
replay, reset
-
-