org.powermock.api.easymock.internal.invocationcontrol
Class NewInvocationControlImpl<T>

java.lang.Object
  extended by org.powermock.api.easymock.internal.invocationcontrol.NewInvocationControlImpl<T>
All Implemented Interfaces:
DefaultBehavior, NewInvocationControl<org.easymock.IExpectationSetters<T>>

public class NewInvocationControlImpl<T>
extends Object
implements NewInvocationControl<org.easymock.IExpectationSetters<T>>


Constructor Summary
NewInvocationControlImpl(InvocationSubstitute<T> substitute, Class<T> type)
           
 
Method Summary
 org.easymock.IExpectationSetters<T> expectSubstitutionLogic(Object... arguments)
           
 Object invoke(Class<?> type, Object[] args, Class<?>[] sig)
           
 Object replay(Object... mocks)
          
 Object reset(Object... mocks)
          
 Object verify(Object... mocks)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewInvocationControlImpl

public NewInvocationControlImpl(InvocationSubstitute<T> substitute,
                                Class<T> type)
Method Detail

invoke

public Object invoke(Class<?> type,
                     Object[] args,
                     Class<?>[] sig)
              throws Exception
Specified by:
invoke in interface NewInvocationControl<org.easymock.IExpectationSetters<T>>
Throws:
Exception

expectSubstitutionLogic

public org.easymock.IExpectationSetters<T> expectSubstitutionLogic(Object... arguments)
                                                            throws Exception
Specified by:
expectSubstitutionLogic in interface NewInvocationControl<org.easymock.IExpectationSetters<T>>
Throws:
Exception

replay

public Object replay(Object... mocks)

Specified by:
replay in interface DefaultBehavior

verify

public Object verify(Object... mocks)

Specified by:
verify in interface DefaultBehavior

reset

public Object reset(Object... mocks)

Specified by:
reset in interface DefaultBehavior


Copyright © 2007-2013. All Rights Reserved.