DefaultBehavior, NewInvocationControl<org.easymock.IExpectationSetters<T>>public class NewInvocationControlImpl<T> extends Object implements NewInvocationControl<org.easymock.IExpectationSetters<T>>
| Constructor | Description |
|---|---|
NewInvocationControlImpl(InvocationSubstitute<T> substitute,
Class<T> type) |
| Modifier and Type | Method | Description |
|---|---|---|
org.easymock.IExpectationSetters<T> |
expectSubstitutionLogic(Object... arguments) |
Expect a call to the new instance substitution logic.
|
Object |
invoke(Class<?> type,
Object[] args,
Class<?>[] sig) |
Invoke the invocation control
|
Object |
replay(Object... mocks) |
Replay the given objects or classes.
|
Object |
reset(Object... mocks) |
Reset the given objects or classes.
|
Object |
verify(Object... mocks) |
Verify the given objects or classes.
|
public NewInvocationControlImpl(InvocationSubstitute<T> substitute, Class<T> type)
public Object invoke(Class<?> type, Object[] args, Class<?>[] sig) throws Exception
NewInvocationControlinvoke in interface NewInvocationControl<T>Exceptionpublic org.easymock.IExpectationSetters<T> expectSubstitutionLogic(Object... arguments) throws Exception
NewInvocationControlexpectSubstitutionLogic in interface NewInvocationControl<T>Exceptionpublic Object replay(Object... mocks)
replay in interface DefaultBehaviornull).public Object verify(Object... mocks)
verify in interface DefaultBehaviornull).public Object reset(Object... mocks)
reset in interface DefaultBehaviornull).Copyright © 2007–2019. All rights reserved.