@Test
public void whenToDomainAddPayloadFromApiAddRequest() throws EntityNotFoundException {

    AddEventRequest apiAddRequest = ApiRequestTestUtils.fullAddEvent();
    EventAddPayload expected = DomainPayloadTestUtils.fullEventAdd();
    expected.setHandicapGroupSet(handicapGroupSetDomainEntity);
    expected.setCompetitionGroupSet(competitionGroupSetDomainEntity);
    when(handicapGroupSetService.getById(TestConstants.HANDICAP_GROUP_SET_ID))
            .thenReturn(handicapGroupSetDomainEntity);
    when(competitionGroupSetService.getById(TestConstants.COMPETITION_GROUP_SET_ID))
            .thenReturn(competitionGroupSetDomainEntity);
    EventAddPayload actual = mapper.toDomainAddPayload(apiAddRequest);
    assertThat(actual).isEqualTo(expected);
}