@Test public void whenToApiEntityListFromDomainEntityList() { List<HandicapGroupSet> domainEntityList = Arrays.asList(DomainEntityTestUtils.fullHandicapGroupSet()); List<HandicapGroupSetApiEntity> expected = Arrays.asList(ApiEntityTestUtils.fullHandicapGroupSet()); List<HandicapGroupSetApiEntity> actual = mapper.toApiEntityList(domainEntityList); assertThat(actual).isEqualTo(expected); }
public abstract List<HandicapGroupSetApiEntity> toApiEntityList(List<HandicapGroupSet> domainEntityList);
HandicapGroupSetMapper { public abstract List<HandicapGroupSetApiEntity> toApiEntityList(List<HandicapGroupSet> domainEntityList); }
HandicapGroupSetMapper { public abstract List<HandicapGroupSetApiEntity> toApiEntityList(List<HandicapGroupSet> domainEntityList);  }
HandicapGroupSetMapper { public abstract List<HandicapGroupSetApiEntity> toApiEntityList(List<HandicapGroupSet> domainEntityList);  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 List<HandicapGroupSetApiEntity> toApiEntityList(List<HandicapGroupSet> domainEntityList);  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);  }