@Test
public void whenToDomainAddPayloadFromApiAddRequestWithNullHandicapGroupIds() {

    AddHandicapGroupSetRequest apiAddRequest = ApiRequestTestUtils.fullAddHandicapGroupSet();
    apiAddRequest.setHandicapGroupIds(null);
    HandicapGroupSetAddPayload expected = DomainPayloadTestUtils.fullHandicapGroupSetAdd();
    expected.setHandicapGroupIds(Sets.newHashSet());
    expected.setHandicapGroups(null);
    HandicapGroupSetAddPayload actual = mapper.toDomainAddPayload(apiAddRequest);
    assertThat(actual).isEqualTo(expected);
}