public interface MockBehavior
execute(org.unitils.mock.core.proxy.ProxyInvocation) method
is called with the invocation as argument. The result value will then be used as return value of the proxy method.| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ProxyInvocation proxyInvocation)
Executes the mock behavior.
|
Object execute(ProxyInvocation proxyInvocation) throws Throwable
proxyInvocation - The proxy method invocation, not nullThrowableCopyright © 2016. All Rights Reserved.