@Test
public void whenToApiEntityListFromDomainEntityList() {

    List<HandicapGroup> domainEntityList = Arrays.asList(DomainEntityTestUtils.fullHandicapGroup());
    List<HandicapGroupApiEntity> expected = Arrays.asList(ApiEntityTestUtils.fullHandicapGroup());
    List<HandicapGroupApiEntity> actual = mapper.toApiEntityList(domainEntityList);
    assertThat(actual).isEqualTo(expected);
}