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, resetObject invoke(Class<?> type, Object[] args, Class<?>[] sig) throws Exception
type - invocation target typeargs - arguments of constructor invocationsig - parameters of a constructorExceptionCopyright © 2025. All rights reserved.