@Test public void matchesWithCorrectEvent() throws Exception { assertTrue(this.defaultUntypedRecordableEvent.matches( new DefaultUntypedRecordableEvent("otherEvent"))); }
@Override public boolean matches(Object otherEvent) { return otherEvent != null && otherEvent instanceof UntypedRecordableEvent; }
DefaultUntypedRecordableEvent implements UntypedRecordableEvent, TargetableEvent { @Override public boolean matches(Object otherEvent) { return otherEvent != null && otherEvent instanceof UntypedRecordableEvent; } }
DefaultUntypedRecordableEvent implements UntypedRecordableEvent, TargetableEvent { @Override public boolean matches(Object otherEvent) { return otherEvent != null && otherEvent instanceof UntypedRecordableEvent; } DefaultUntypedRecordableEvent(String eventType);   DefaultUntypedRecordableEvent();   DefaultUntypedRecordableEvent(String eventType, Set<String> target); }
DefaultUntypedRecordableEvent implements UntypedRecordableEvent, TargetableEvent { @Override public boolean matches(Object otherEvent) { return otherEvent != null && otherEvent instanceof UntypedRecordableEvent; } DefaultUntypedRecordableEvent(String eventType);   DefaultUntypedRecordableEvent();   DefaultUntypedRecordableEvent(String eventType, Set<String> target); @Override String getEventType(); @Override boolean matches(Object otherEvent); @Override Set<String> getTarget(); }
DefaultUntypedRecordableEvent implements UntypedRecordableEvent, TargetableEvent { @Override public boolean matches(Object otherEvent) { return otherEvent != null && otherEvent instanceof UntypedRecordableEvent; } DefaultUntypedRecordableEvent(String eventType);   DefaultUntypedRecordableEvent();   DefaultUntypedRecordableEvent(String eventType, Set<String> target); @Override String getEventType(); @Override boolean matches(Object otherEvent); @Override Set<String> getTarget();  }