public class MatchingInvocationBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
MatchingInvocationBuilder.InvocationHandler |
| Modifier and Type | Field and Description |
|---|---|
protected String |
currentMockName |
protected String |
definingMethodName |
protected StackTraceElement[] |
invokedAt |
protected MatchingInvocationHandler |
matchingInvocationHandler |
| Constructor and Description |
|---|
MatchingInvocationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertNotExpectingInvocation() |
protected List<ArgumentMatcher> |
createArgumentMatchers(ProxyInvocation proxyInvocation) |
protected Object |
handleProxyInvocation(ProxyInvocation proxyInvocation,
MatchingInvocationHandler matchingInvocationHandler) |
protected boolean |
isChainedMock() |
void |
reset() |
<T> T |
startMatchingInvocation(String mockName,
Class<T> mockedType,
MatchingInvocationHandler matchingInvocationHandler) |
protected String currentMockName
protected String definingMethodName
protected StackTraceElement[] invokedAt
protected MatchingInvocationHandler matchingInvocationHandler
public <T> T startMatchingInvocation(String mockName, Class<T> mockedType, MatchingInvocationHandler matchingInvocationHandler)
public void reset()
public void assertNotExpectingInvocation()
protected boolean isChainedMock()
protected Object handleProxyInvocation(ProxyInvocation proxyInvocation, MatchingInvocationHandler matchingInvocationHandler) throws Throwable
Throwableprotected List<ArgumentMatcher> createArgumentMatchers(ProxyInvocation proxyInvocation)
Copyright © 2016. All Rights Reserved.