org.unitils.mock.core.matching.impl
Class BehaviorDefiningMatchingInvocationHandler
java.lang.Object
org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler
- All Implemented Interfaces:
- MatchingInvocationHandler
public class BehaviorDefiningMatchingInvocationHandler
- extends java.lang.Object
- implements MatchingInvocationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mockBehavior
protected MockBehavior mockBehavior
mockFactory
protected MockFactory mockFactory
behaviorDefinition
protected BehaviorDefiningInvocations behaviorDefinition
BehaviorDefiningMatchingInvocationHandler
public BehaviorDefiningMatchingInvocationHandler(MockBehavior mockBehavior,
BehaviorDefiningInvocations behaviorDefinition,
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
addBehaviorDefiningInvocation
protected void addBehaviorDefiningInvocation(BehaviorDefiningInvocation behaviorDefiningInvocation,
BehaviorDefiningInvocations behaviorDefinition)
createChainedMock
protected java.lang.Object createChainedMock(ProxyInvocation proxyInvocation,
BehaviorDefiningInvocation behaviorDefiningInvocation)
Copyright © 2009. All Rights Reserved.