OutputFileEvent { @Override public int hashCode() { return Objects.hashCode(this.path); } OutputFileEvent(final URI path); static OutputFileEvent from(final Map<String, Object> eventMap); Optional<URI> getPath(); @Override boolean equals(final Object obj); @Override int hashCode();  }
@Test public void hashCodeTests() { assertThat(new OutputFileEvent(null).hashCode()).isEqualTo(new OutputFileEvent(null).hashCode()); assertThat(new OutputFileEvent(URI.create("file: .isEqualTo(new OutputFileEvent(URI.create("file: }