@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)); }
@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")); }