@Test public void whenToDomainAddPayloadFromApiAddRequest() { AddHandicapGroupSetRequest apiAddRequest = ApiRequestTestUtils.fullAddHandicapGroupSet(); HandicapGroupSetAddPayload expected = DomainPayloadTestUtils.fullHandicapGroupSetAdd(); expected.setHandicapGroups(null); HandicapGroupSetAddPayload actual = mapper.toDomainAddPayload(apiAddRequest); assertThat(actual).isEqualTo(expected); }
public abstract HandicapGroupSetAddPayload toDomainAddPayload(AddHandicapGroupSetRequest apiAddRequest);
HandicapGroupSetMapper { public abstract HandicapGroupSetAddPayload toDomainAddPayload(AddHandicapGroupSetRequest apiAddRequest); }
HandicapGroupSetMapper { public abstract HandicapGroupSetAddPayload toDomainAddPayload(AddHandicapGroupSetRequest apiAddRequest);  }
HandicapGroupSetMapper { public abstract HandicapGroupSetAddPayload toDomainAddPayload(AddHandicapGroupSetRequest apiAddRequest);  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); }
HandicapGroupSetMapper { public abstract HandicapGroupSetAddPayload toDomainAddPayload(AddHandicapGroupSetRequest apiAddRequest);  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);  }