EventFoundEvent { public String getEventName() { return eventName; } EventFoundEvent(final Class<?> clazz, final String eventName); Class<?> getClazz(); String getEventName();  }
@Test public void shouldReturnEventName() { assertThat(event.getEventName(), equalTo(EVENT_NAME)); }