@Test public void hashCodeTests() { assertThat(new PausedEvent(mock(PausedEventResponder.class)).hashCode()) .isEqualTo(new PausedEvent(mock(PausedEventResponder.class)).hashCode()); assertThat(new PausedEvent(mock(PausedEventResponder.class)).hashCode()) .isEqualTo(new PausedEvent(null).hashCode()); }
@Override public int hashCode() { return PausedEvent.class.hashCode(); }
PausedEvent { @Override public int hashCode() { return PausedEvent.class.hashCode(); } }
PausedEvent { @Override public int hashCode() { return PausedEvent.class.hashCode(); } PausedEvent(final PausedEventResponder responder); }
PausedEvent { @Override public int hashCode() { return PausedEvent.class.hashCode(); } PausedEvent(final PausedEventResponder responder); static PausedEvent from(final AgentClient client); PausedEventResponder responder(); @Override boolean equals(final Object obj); @Override int hashCode(); }
PausedEvent { @Override public int hashCode() { return PausedEvent.class.hashCode(); } PausedEvent(final PausedEventResponder responder); static PausedEvent from(final AgentClient client); PausedEventResponder responder(); @Override boolean equals(final Object obj); @Override int hashCode();  }