org.powermock.api.easymock.internal.invocationcontrol
Class NewInvocationControlImpl<T>
java.lang.Object
org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl<T>
- All Implemented Interfaces:
- DefaultBehavior, NewInvocationControl<org.easymock.IExpectationSetters<T>>
public class NewInvocationControlImpl<T>
- extends java.lang.Object
- implements NewInvocationControl<org.easymock.IExpectationSetters<T>>
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewInvocationControlImpl
public NewInvocationControlImpl(InvocationSubstitute<T> substitute,
java.lang.Class<T> type)
invoke
public java.lang.Object invoke(java.lang.Class<?> type,
java.lang.Object[] args,
java.lang.Class<?>[] sig)
throws java.lang.Exception
- Specified by:
invoke in interface NewInvocationControl<org.easymock.IExpectationSetters<T>>
- Throws:
java.lang.Exception
expectSubstitutionLogic
public org.easymock.IExpectationSetters<T> expectSubstitutionLogic(java.lang.Object... arguments)
throws java.lang.Exception
- Specified by:
expectSubstitutionLogic in interface NewInvocationControl<org.easymock.IExpectationSetters<T>>
- Throws:
java.lang.Exception
replay
public java.lang.Object replay(java.lang.Object... mocks)
-
- Specified by:
replay in interface DefaultBehavior
verify
public java.lang.Object verify(java.lang.Object... mocks)
-
- Specified by:
verify in interface DefaultBehavior
reset
public java.lang.Object reset(java.lang.Object... mocks)
-
- Specified by:
reset in interface DefaultBehavior
Copyright © 2007-2012. All Rights Reserved.