public interface NewInvocationControl<T> extends DefaultBehavior
InvocationSubstitute
with the
mock object created when invoking
InvocationSubstitute.performSubstitutionLogic(Object...)
object.Modifier and Type | Method and Description |
---|---|
T |
expectSubstitutionLogic(java.lang.Object... arguments)
Expect a call to the new instance substitution logic.
|
java.lang.Object |
invoke(java.lang.Class<?> type,
java.lang.Object[] args,
java.lang.Class<?>[] sig)
Invoke the invocation control
|
replay, reset, verify
java.lang.Object invoke(java.lang.Class<?> type, java.lang.Object[] args, java.lang.Class<?>[] sig) throws java.lang.Exception
java.lang.Exception
T expectSubstitutionLogic(java.lang.Object... arguments) throws java.lang.Exception
java.lang.Exception