@Test void testApplicationStoppedEvent() { ApplicationStoppedEvent event = new ApplicationStoppedEvent(); assertTrue(event.matches(event)); assertFalse(event.matches(AllEvent.ALLEVENT)); }
@Override public boolean matches(Object otherEvent) { return this.getClass().isAssignableFrom(otherEvent.getClass()); }
ApplicationStoppedEvent implements Event { @Override public boolean matches(Object otherEvent) { return this.getClass().isAssignableFrom(otherEvent.getClass()); } }
ApplicationStoppedEvent implements Event { @Override public boolean matches(Object otherEvent) { return this.getClass().isAssignableFrom(otherEvent.getClass()); }  }
ApplicationStoppedEvent implements Event { @Override public boolean matches(Object otherEvent) { return this.getClass().isAssignableFrom(otherEvent.getClass()); }  @Override boolean matches(Object otherEvent); }
ApplicationStoppedEvent implements Event { @Override public boolean matches(Object otherEvent) { return this.getClass().isAssignableFrom(otherEvent.getClass()); }  @Override boolean matches(Object otherEvent);  }