public void test_Create_WithThrowRuntimeException() {
// Regression for Harmony-2434
InvocationObject invocationObject = new InvocationObject();
SampleListener listener = EventHandler.create(SampleListener.class,invocationObject, "throwRuntimeException");
try {
listener.fireSampleEvent(new SampleEvent("bean"));
fail("Expected RuntimeException thrown");
} catch (RuntimeException re) {
// Expected
}
}