org.unitils.mock.core.matching
Class MatchingInvocationBuilder
java.lang.Object
org.unitils.mock.core.matching.MatchingInvocationBuilder
public class MatchingInvocationBuilder
- extends java.lang.Object
- Author:
- Filip Neven, Tim Ducheyne
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentMockName
protected java.lang.String currentMockName
definingMethodName
protected java.lang.String definingMethodName
invokedAt
protected java.lang.StackTraceElement[] invokedAt
MatchingInvocationBuilder
public MatchingInvocationBuilder()
startMatchingInvocation
public <T> T startMatchingInvocation(java.lang.String mockName,
java.lang.Class<T> mockedType,
MatchingInvocationHandler matchingInvocationHandler)
reset
public void reset()
assertNotExpectingInvocation
public void assertNotExpectingInvocation()
isChainedMock
protected boolean isChainedMock(java.lang.String mockName)
handleProxyInvocation
protected java.lang.Object handleProxyInvocation(ProxyInvocation proxyInvocation,
MatchingInvocationHandler matchingInvocationHandler)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
createArgumentMatchers
protected java.util.List<ArgumentMatcher> createArgumentMatchers(ProxyInvocation proxyInvocation)
Copyright © 2009. All Rights Reserved.