Ejemplo n.º 1
0
 @Ignore("[SPR-8644] findMethod() does not currently support var-args")
 @Test
 public void findMethodWithVarArgs() throws Exception {
   assertNotNull(ReflectionUtils.findMethod(B.class, "add", int.class, int.class, int.class));
 }
Ejemplo n.º 2
0
 @Test
 public void findMethod() throws Exception {
   assertNotNull(ReflectionUtils.findMethod(B.class, "bar", String.class));
   assertNotNull(ReflectionUtils.findMethod(B.class, "foo", Integer.class));
   assertNotNull(ReflectionUtils.findMethod(B.class, "getClass"));
 }