com.agical.rmock.core.strategy.impl
Class MethodStep

java.lang.Object
  extended by com.agical.rmock.core.strategy.impl.MethodStep
All Implemented Interfaces:
TestStep

public class MethodStep
extends Object
implements TestStep


Field Summary
protected static Object[] NO_ARGS
           
protected static Class[] NO_PARAMETERS
           
 
Constructor Summary
MethodStep(Object target, String method)
           
 
Method Summary
protected  void invokeMethod(Object target, Method method)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_PARAMETERS

protected static final Class[] NO_PARAMETERS

NO_ARGS

protected static final Object[] NO_ARGS
Constructor Detail

MethodStep

public MethodStep(Object target,
                  String method)
Method Detail

run

public void run()
         throws Throwable
Specified by:
run in interface TestStep
Throws:
Throwable

invokeMethod

protected void invokeMethod(Object target,
                            Method method)
                     throws IllegalAccessException,
                            InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException


Copyright © 2005-2011 Agical AB. All Rights Reserved.