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