Package org.powermock.core.spi
Interface NewInvocationControl<T>
-
- All Superinterfaces:
DefaultBehavior
- All Known Implementing Classes:
MockitoNewInvocationControl
,NewInvocationControlImpl
public interface NewInvocationControl<T> extends DefaultBehavior
A new invocation control pairs up aInvocationSubstitute
with the mock object created when invokingInvocationSubstitute.performSubstitutionLogic(Object...)
object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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-
Methods inherited from interface org.powermock.core.spi.DefaultBehavior
replay, reset, verify
-
-