Interface MethodInvocationControl
- All Superinterfaces:
DefaultBehavior, InvocationHandler
- All Known Implementing Classes:
EasyMockMethodInvocationControl, MockitoMethodInvocationControl
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
Methods inherited from interface DefaultBehavior
replay, resetMethods inherited from interface InvocationHandler
invoke
-
Method Details
-
isMocked
Determine whether a certain method is mocked by this Invocation Control.- Parameters:
method- The method that should be checked.- Returns:
trueif the method is mocked,falseotherwise.
-