@Test
public void whenToApiEntityListFromDomainEntityList() {

    List<HandicapGroupSet> domainEntityList = Arrays.asList(DomainEntityTestUtils.fullHandicapGroupSet());
    List<HandicapGroupSetApiEntity> expected = Arrays.asList(ApiEntityTestUtils.fullHandicapGroupSet());
    List<HandicapGroupSetApiEntity> actual = mapper.toApiEntityList(domainEntityList);
    assertThat(actual).isEqualTo(expected);
}