@Test
public void whenToApiEntityFromDomainEntity() {

    Registration domainEntity = DomainEntityTestUtils.fullRegistration();
    RegistrationApiEntity expected = ApiEntityTestUtils.fullRegistration();
    RegistrationApiEntity actual = mapper.toApiEntity(domainEntity);
    assertThat(actual).isEqualTo(expected);
}