public class NewInvocationControlImpl<T>
extends java.lang.Object
implements org.powermock.core.spi.NewInvocationControl<org.easymock.IExpectationSetters<T>>
| Constructor and Description |
|---|
NewInvocationControlImpl(org.powermock.core.spi.support.InvocationSubstitute<T> substitute,
java.lang.Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
org.easymock.IExpectationSetters<T> |
expectSubstitutionLogic(java.lang.Object... arguments) |
java.lang.Object |
invoke(java.lang.Class<?> type,
java.lang.Object[] args,
java.lang.Class<?>[] sig) |
java.lang.Object |
replay(java.lang.Object... mocks) |
java.lang.Object |
reset(java.lang.Object... mocks) |
java.lang.Object |
verify(java.lang.Object... mocks) |
public java.lang.Object invoke(java.lang.Class<?> type,
java.lang.Object[] args,
java.lang.Class<?>[] sig)
throws java.lang.Exception
invoke in interface org.powermock.core.spi.NewInvocationControl<org.easymock.IExpectationSetters<T>>java.lang.Exceptionpublic org.easymock.IExpectationSetters<T> expectSubstitutionLogic(java.lang.Object... arguments) throws java.lang.Exception
expectSubstitutionLogic in interface org.powermock.core.spi.NewInvocationControl<org.easymock.IExpectationSetters<T>>java.lang.Exceptionpublic java.lang.Object replay(java.lang.Object... mocks)
replay in interface org.powermock.core.spi.DefaultBehaviorpublic java.lang.Object verify(java.lang.Object... mocks)
verify in interface org.powermock.core.spi.DefaultBehaviorpublic java.lang.Object reset(java.lang.Object... mocks)
reset in interface org.powermock.core.spi.DefaultBehavior