@Test
public void hashCodeTest() throws Exception {

    RegistrationApiEntity otherRegistration = ApiEntityTestUtils.fullRegistration();
    otherRegistration.setCheckedIn(true);
    assertThat(registration.hashCode()).isEqualTo(otherRegistration.hashCode());
}