@Test
public void itShouldAddAddRegistrationsForSameCarAtSameEvents() {

    RegistrationHibernateEntity registrationOfCarOwner = buildUnsavedRegistration();
    RegistrationHibernateEntity registrationOfCoDriver = buildUnsavedRegistration();
    registrationOfCoDriver.setCar(registrationOfCarOwner.getCar());
    daoTestRule.inTransaction(() -> {
        dao.create(registrationOfCarOwner);
        dao.create(registrationOfCoDriver);
    });
}