public abstract class AssertVerifyingMatchingInvocationHandler extends Object implements MatchingInvocationHandler
| Modifier and Type | Field and Description |
|---|---|
protected MockFactory |
mockFactory |
protected Scenario |
scenario |
| Constructor and Description |
|---|
AssertVerifyingMatchingInvocationHandler(Scenario scenario,
MockFactory mockFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createChainedMock(ProxyInvocation proxyInvocation) |
Object |
handleInvocation(ProxyInvocation proxyInvocation,
List<ArgumentMatcher> argumentMatchers) |
protected abstract void |
performAssertion(Scenario scenario,
BehaviorDefiningInvocation behaviorDefiningInvocation) |
protected abstract Object |
performChainedAssertion(Mock<?> mock) |
protected Scenario scenario
protected MockFactory mockFactory
public AssertVerifyingMatchingInvocationHandler(Scenario scenario, MockFactory mockFactory)
public Object handleInvocation(ProxyInvocation proxyInvocation, List<ArgumentMatcher> argumentMatchers) throws Throwable
handleInvocation in interface MatchingInvocationHandlerThrowableprotected Object createChainedMock(ProxyInvocation proxyInvocation)
protected abstract void performAssertion(Scenario scenario, BehaviorDefiningInvocation behaviorDefiningInvocation)
Copyright © 2016. All Rights Reserved.