@Test
public void whenToApiEntityFromDomainEntity() {

    CompetitionGroup domainEntity = DomainEntityTestUtils.fullCompetitionGroup();
    CompetitionGroupApiEntity expected = ApiEntityTestUtils.fullCompetitionGroup();
    CompetitionGroupApiEntity actual = mapper.toApiEntity(domainEntity);
    assertThat(actual).isEqualTo(expected);
}