### Question:
LongHashStep implements HashStep<T> { @Override public int hash(T object) { return Long.hashCode(valueExtractor.applyAsLong(object)); } LongHashStep(ToLongFunction<? super T> valueExtractor); @Override int hash(T object);  }### Answer:
@Test void shouldReturnHashCode() { LongHashStep<TestData> hashStep = new LongHashStep<>(TestData::getValue); int result = hashStep.hash(new TestData(1337L)); assertThat(result) .isEqualTo(Long.hashCode(1337L)); }