DefaultRequestId implements RequestId { @Override public int hashCode() { return (int) value; } DefaultRequestId();   DefaultRequestId(long value); @Override String text(); @Override String shortText(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test void hash() { assertThat(new DefaultRequestId(1).hashCode()).isEqualTo(1); }