net.thucydides.junit.internals
Class MethodInvoker
java.lang.Object
net.thucydides.junit.internals.MethodInvoker
public class MethodInvoker
- extends Object
A centralized way to invoke a method on a parameter.
Raises an IllegalArgumentException if something goes wrong.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvoker
protected MethodInvoker(Object target)
on
public static MethodInvoker on(Object target)
run
public Object run(Method method,
Object... parameters)
invokeMethod
protected Object invokeMethod(Method method,
Object[] parameters)
throws IllegalAccessException,
InvocationTargetException
- Throws:
IllegalAccessException
InvocationTargetException
Copyright © 2011 Wakaleo Consulting. All Rights Reserved.