@Override
  public int hashCode()
  {
    return super.hashCode() * 31 + (_entity == null ? 0 : _entity.hashCode());
  }
@Test
  public void testHashCode()
  {
    IdEntityResponse<Long, AnyRecord> longIdEntityResponse1 = new IdEntityResponse<>(1L, new AnyRecord());
    IdEntityResponse<Long, AnyRecord> longIdEntityResponse2 = new IdEntityResponse<>(1L, new AnyRecord());
    IdEntityResponse<Long, AnyRecord> nullLongResponse = new IdEntityResponse<>(null, new AnyRecord());
    IdEntityResponse<String, AnyRecord> nullStringResponse = new IdEntityResponse<>(null, new AnyRecord());

    Assert.assertEquals(longIdEntityResponse1.hashCode(), longIdEntityResponse2.hashCode());
    Assert.assertEquals(nullLongResponse.hashCode(), nullStringResponse.hashCode());
  }