@Test
public void whenToApiEntityListFromDomainEntityList() {

    List<CompetitionGroup> domainEntityList = Arrays.asList(DomainEntityTestUtils.fullCompetitionGroup());
    List<CompetitionGroupApiEntity> expected = Arrays.asList(ApiEntityTestUtils.fullCompetitionGroup());
    List<CompetitionGroupApiEntity> actual = mapper.toApiEntityList(domainEntityList);
    assertThat(actual).isEqualTo(expected);
}