public class NewInvocationControlImpl<T> extends Object implements NewInvocationControl<org.easymock.IExpectationSetters<T>>
Constructor and Description |
---|
NewInvocationControlImpl(InvocationSubstitute<T> substitute,
Class<T> type) |
Modifier and Type | Method and 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
NewInvocationControl
invoke
in interface NewInvocationControl<org.easymock.IExpectationSetters<T>>
Exception
public org.easymock.IExpectationSetters<T> expectSubstitutionLogic(Object... arguments) throws Exception
NewInvocationControl
expectSubstitutionLogic
in interface NewInvocationControl<org.easymock.IExpectationSetters<T>>
Exception
public Object replay(Object... mocks)
replay
in interface DefaultBehavior
null
).public Object verify(Object... mocks)
verify
in interface DefaultBehavior
null
).public Object reset(Object... mocks)
reset
in interface DefaultBehavior
null
).Copyright © 2007–2015. All rights reserved.