### Question:
DelegatingHashStep implements HashStep<T> { @Override public int hash(T object) { return delegate.applyAsInt(object); } DelegatingHashStep(ToIntFunction<? super T> delegate); @Override int hash(T object);  }### Answer:
@Test void shouldReturnHashCodeOfDelegate() { DelegatingHashStep<String> hashStep = new DelegatingHashStep<>(value -> 1337); int result = hashStep.hash("test"); assertThat(result) .isEqualTo(1337); }