### Question:
HandicapGroupSetMapper { public abstract HandicapGroupSetApiEntity toApiEntity(HandicapGroupSet domainEntity);  abstract HandicapGroupSetAddPayload toDomainAddPayload(AddHandicapGroupSetRequest apiAddRequest); abstract HandicapGroupSetApiEntity toApiEntity(HandicapGroupSet domainEntity); Set<HandicapGroupApiEntity> toInnerApiEntitySet(Set<HandicapGroup> innerDomainEntitySet); abstract List<HandicapGroupSetApiEntity> toApiEntityList(List<HandicapGroupSet> domainEntityList); abstract HandicapGroupSetHibernateEntity toHibernateEntity(HandicapGroupSetAddPayload domainAddPayload); HandicapGroupSetHibernateEntity toHibernateEntity(HandicapGroupSet domainEntity); Set<HandicapGroupHibernateEntity> toInnerHibernateEntitySet(Set<HandicapGroup> innerDomainEntitySet); abstract void updateHibernateEntity(
            HandicapGroupSet domainEntity,
            @MappingTarget HandicapGroupSetHibernateEntity hibernateEntity
    ); abstract HandicapGroupSet toDomainEntity(HandicapGroupSetHibernateEntity hibernateEntity); Set<HandicapGroup> toInnerDomainEntitySet(Set<HandicapGroupHibernateEntity> innerHibernateEntitySet); abstract List<HandicapGroupSet> toDomainEntityList(
            List<HandicapGroupSetHibernateEntity> hibernateEntityList
    ); void setDao(HandicapGroupSetDao dao); void setHandicapGroupMapper(HandicapGroupMapper handicapGroupMapper);  }### Answer:
@Test public void whenToApiEntityFromDomainEntity() { HandicapGroupSet domainEntity = DomainEntityTestUtils.fullHandicapGroupSet(); HandicapGroupSetApiEntity expected = ApiEntityTestUtils.fullHandicapGroupSet(); HandicapGroupSetApiEntity actual = mapper.toApiEntity(domainEntity); assertThat(actual).isEqualTo(expected); }