DefaultBehavior
, InvocationHandler
EasyMockMethodInvocationControl
, MockitoMethodInvocationControl
public interface MethodInvocationControl extends InvocationHandler, DefaultBehavior
Modifier and Type | Method | Description |
---|---|---|
boolean |
isMocked(Method method) |
Determine whether a certain method is mocked by this Invocation Control.
|
replay, reset, verify
invoke
boolean isMocked(Method method)
method
- The method that should be checked.true
if the method is mocked, false
otherwise.Copyright © 2007–2019. All rights reserved.