### Question:
SynchronizedRunListener extends RunListener { @Override public int hashCode() { return listener.hashCode(); } SynchronizedRunListener(RunListener listener, Object monitor); @Override void testRunStarted(Description description); @Override void testRunFinished(Result result); @Override void testStarted(Description description); @Override void testFinished(Description description); @Override void testFailure(Failure failure); @Override void testAssumptionFailure(Failure failure); @Override void testIgnored(Description description); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString();  }### Answer:
@Test public void hashCodeDelegates() { NamedListener listener = new NamedListener("blue"); assertEquals(listener.hashCode(), wrap(listener).hashCode()); }