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(Object... arguments)
Expect a call to the new instance substitution logic.
|
Object |
invoke(Class<?> type,
Object[] args,
Class<?>[] sig)
Invoke the constructor invocation control
|
replay, reset
Object invoke(Class<?> type, Object[] args, Class<?>[] sig) throws Exception
type
- invocation target typeargs
- arguments of constructor invocationsig
- parameters of a constructorException
Copyright © 2019. All rights reserved.