public static class BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior extends Object implements MockBehavior
| Modifier and Type | Field and Description |
|---|---|
protected BehaviorDefiningInvocation |
behaviorDefiningInvocation |
protected Mock<?> |
mock |
protected MockBehavior |
originalMockBehavior |
| Constructor and Description |
|---|
BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior(Mock<?> mock,
BehaviorDefiningInvocation behaviorDefiningInvocation) |
protected Mock<?> mock
protected BehaviorDefiningInvocation behaviorDefiningInvocation
protected MockBehavior originalMockBehavior
public BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior(Mock<?> mock, BehaviorDefiningInvocation behaviorDefiningInvocation)
public void installChain()
public Object execute(ProxyInvocation proxyInvocation) throws Throwable
MockBehaviorexecute in interface MockBehaviorproxyInvocation - The proxy method invocation, not nullThrowableCopyright © 2016. All Rights Reserved.