Lines Matching defs:method
65 public static Object invokeStaticMethod(Class<?> clazz, String method, Object... params) {
72 Method methodReflection = clazz.getDeclaredMethod(method, paramType);
82 * This is needed when the test expects the method in source being called to throw an exception.
88 public static Object invokeStaticMethodThrowsException(Class<?> clazz, String method,
96 Method methodReflection = clazz.getDeclaredMethod(method, paramType);
112 public static Object invokeNonStaticMethod(Class<?> clazz, Object caller, String method,
120 Method methodReflection = clazz.getDeclaredMethod(method, paramType);
130 * This is needed when the test expects the method in source being called to throw an exception.
137 String method, Object... params)
145 Method methodReflection = clazz.getDeclaredMethod(method, paramType);