ObjectTagResultEvent extends PlainEvent implements InputEvent { @Override public String getEventType() { return EVENT_TYPE; } ObjectTagResultEvent(final Object methodResult); @Override Object getInputResult(); @Override String getEventType(); static final String EVENT_TYPE; }
@Test public void testGetEventType() { final ObjectTagResultEvent event = new ObjectTagResultEvent(TEST_VALUE); Assert.assertEquals(ObjectTagResultEvent.EVENT_TYPE, event.getEventType()); Assert.assertEquals(ObjectTagResultEvent.class.getName(), event.getEventType()); }