186187188189190191192193194
} @Test public void testInvokeReturnNull() throws Exception { ClassWithNullMethod instance = new ClassWithNullMethod(); assert null == ReflectHelper.invokeMethod(instance, "method", String.class); Assert.assertEquals(instance.getInvokeCount(), 1); }