### Question:
Reflects { public static Method findMethodSigned(String name, Class<?> target, Class<?>... argumentTypes) { Args.checkNotNull(target); Args.checkNotEmpty(name); Method method = null; try { method = target.getMethod(name, argumentTypes); } catch (SecurityException e) { Map<String, String> replace = new HashMap<String, String>(1); replace.put("class", target.getName()); throw new InternalException(Reflects.class, "E-UTIL#0015", replace, e); } catch (NoSuchMethodException e) { } return method; } private  Reflects(); static Method findMethodSigned(String name, Class<?> target, Class<?>... argumentTypes); static Method findMethodNamed(String name, Class<?> target); static Method findMethodNamed(Pattern pattern, Class<?> target); static Field findFieldNamed(String name, Class<?> target); static Field findFieldNamed(Pattern pattern, Class<?> target); static Constructor<T> findConstructorFor(Class<T> target, Class<?>... argumentTypes); static Object invoke(Method method, Object instance, Object... arguments); static Object read(Field field, Object instance); static void write(Field field, Object instance, Object newValue); static T invoke(Constructor<T> con, Object... arguments); static T make(Class<T> clazz, Object... args); static Method[] findAllMethods(Class<?> clazz); static Field[] findAllFields(Class<?> clazz);  }### Answer:
@Test public void findMethodSignedテスト正常系1() { Method equals = Reflects.findMethodSigned("equals", getClass(), Object.class); assertNotNull(equals); assertEquals("equals", equals.getName()); assertEquals(1, equals.getParameterTypes().length); assertEquals(Object.class, equals.getParameterTypes()[0]); }
@Test public void findMethodSignedテスト異常系1() { Method equals = Reflects.findMethodSigned("equals", getClass()); assertNull(equals); }