170171172173174175176177178
} @Test public void testInvokeMethod1() throws Exception { ClassWithVoidMethod instance = new ClassWithVoidMethod(); ReflectHelper.invokeMethod(instance, "method"); Assert.assertEquals(instance.getInvokeCount(), 1); }
178179180181182183184185186
} @Test public void testInvokeMethodNull() throws Exception { ClassWithVoidMethod instance = new ClassWithVoidMethod(); ReflectHelper.invokeMethod(instance, "method", Void.TYPE); Assert.assertEquals(instance.getInvokeCount(), 1); }