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 java.lang.Object
- implements MatchingInvocationHandler
todo javadoc
| 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 java.lang.Object handleInvocation(ProxyInvocation proxyInvocation,
java.util.List<ArgumentMatcher> argumentMatchers)
throws java.lang.Throwable
- Specified by:
handleInvocation in interface MatchingInvocationHandler
- Throws:
java.lang.Throwable
createChainedMock
protected java.lang.Object createChainedMock(ProxyInvocation proxyInvocation)
performAssertion
protected abstract void performAssertion(Scenario scenario,
BehaviorDefiningInvocation behaviorDefiningInvocation)
performChainedAssertion
protected abstract java.lang.Object performChainedAssertion(Mock<?> mock)
Copyright © 2009. All Rights Reserved.