@Test
public void whenToApiEntityListFromDomainEntityList() {

    List<CompetitionGroupSet> domainEntityList = Arrays.asList(DomainEntityTestUtils.fullCompetitionGroupSet());
    List<CompetitionGroupSetApiEntity> expected = Arrays.asList(ApiEntityTestUtils.fullCompetitionGroupSet());
    List<CompetitionGroupSetApiEntity> actual = mapper.toApiEntityList(domainEntityList);
    assertThat(actual).isEqualTo(expected);
}