@Test
public void testFailingInfer() {

    TestListener<TaskExecutionFailedEvent> victim = new TestListener<TaskExecutionFailedEvent>();
    assertEquals(null, ReflectionUtils.inferParameterClass(victim.getClass(), "onEvent"));
}