Object proxy = EventHandler.create(SampleListener.class,
invocationObject, "doSomething");
Method m = SampleListener.class.getMethod("fireSampleEvent",
new Class[] { SampleEvent.class });
handler.invoke(proxy, m, new Object[] { new SampleEvent("") });
assertEquals(invocationObject, handler.getTarget());
assertEquals("doSomething", getMethodName());
// Regression test for HARMONY-4033