### Question:
MethodUtils { public static boolean existSetMethod(Class<?> klass) { for (Class<?> target = klass; target != Object.class; target = target.getSuperclass()) { for (Method method : target.getDeclaredMethods()) { if (method.getName().startsWith("set")) { return true; } } } return false; }  static Object invoke(final Object target, final Method method, final Object... args); static List<Method> getAllMethod(final Class<?> klass); static Method getMethod(Class<?> klass, String name, Class<?>... parameterTypes); static boolean existSetMethod(Class<?> klass);  }### Answer:
@Test public void testExistSetMethod() { assertTrue(MethodUtils.existSetMethod(MethodUtilsTest.class)); }