org.unitils.mock.core.matching.impl
Class AssertVerifyingMatchingInvocationHandler
java.lang.Object
org.unitils.mock.core.matching.impl.AssertVerifyingMatchingInvocationHandler
- All Implemented Interfaces:
- MatchingInvocationHandler
- Direct Known Subclasses:
- AssertInvokedInSequenceVerifyingMatchingInvocationHandler, AssertInvokedVerifyingMatchingInvocationHandler, AssertNotInvokedVerifyingMatchingInvocationHandler
public abstract class AssertVerifyingMatchingInvocationHandler
- extends Object
- implements MatchingInvocationHandler
- Author:
- Tim Ducheyne, Filip Neven
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scenario
protected Scenario scenario
mockFactory
protected MockFactory mockFactory
AssertVerifyingMatchingInvocationHandler
public AssertVerifyingMatchingInvocationHandler(Scenario scenario,
MockFactory mockFactory)
handleInvocation
public Object handleInvocation(ProxyInvocation proxyInvocation,
List<ArgumentMatcher> argumentMatchers)
throws Throwable
- Specified by:
handleInvocation
in interface MatchingInvocationHandler
- Throws:
Throwable
createChainedMock
protected Object createChainedMock(ProxyInvocation proxyInvocation)
performAssertion
protected abstract void performAssertion(Scenario scenario,
BehaviorDefiningInvocation behaviorDefiningInvocation)
performChainedAssertion
protected abstract Object performChainedAssertion(Mock<?> mock)
Copyright © 2011. All Rights Reserved.