@Test public void whenToApiEntityListFromDomainEntityList() { List<HandicapGroup> domainEntityList = Arrays.asList(DomainEntityTestUtils.fullHandicapGroup()); List<HandicapGroupApiEntity> expected = Arrays.asList(ApiEntityTestUtils.fullHandicapGroup()); List<HandicapGroupApiEntity> actual = mapper.toApiEntityList(domainEntityList); assertThat(actual).isEqualTo(expected); }
public abstract List<HandicapGroupApiEntity> toApiEntityList(List<HandicapGroup> domainEntityList);
HandicapGroupMapper { public abstract List<HandicapGroupApiEntity> toApiEntityList(List<HandicapGroup> domainEntityList); }
HandicapGroupMapper { public abstract List<HandicapGroupApiEntity> toApiEntityList(List<HandicapGroup> domainEntityList);  }
HandicapGroupMapper { public abstract List<HandicapGroupApiEntity> toApiEntityList(List<HandicapGroup> domainEntityList);  abstract HandicapGroupAddPayload toDomainAddPayload(AddHandicapGroupRequest apiAddRequest); abstract HandicapGroupApiEntity toApiEntity(HandicapGroup domainEntity); abstract List<HandicapGroupApiEntity> toApiEntityList(List<HandicapGroup> domainEntityList); abstract HandicapGroupHibernateEntity toHibernateEntity(HandicapGroupAddPayload domainAddPayload); HandicapGroupHibernateEntity toHibernateEntity(HandicapGroup domainEntity); abstract void updateHibernateEntity(
            HandicapGroup domainEntity,
            @MappingTarget HandicapGroupHibernateEntity hibernateEntity
    ); abstract HandicapGroup toDomainEntity(HandicapGroupHibernateEntity hibernateEntity); abstract List<HandicapGroup> toDomainEntityList(List<HandicapGroupHibernateEntity> hibernateEntityList); void setDao(HandicapGroupDao dao); }
HandicapGroupMapper { public abstract List<HandicapGroupApiEntity> toApiEntityList(List<HandicapGroup> domainEntityList);  abstract HandicapGroupAddPayload toDomainAddPayload(AddHandicapGroupRequest apiAddRequest); abstract HandicapGroupApiEntity toApiEntity(HandicapGroup domainEntity); abstract List<HandicapGroupApiEntity> toApiEntityList(List<HandicapGroup> domainEntityList); abstract HandicapGroupHibernateEntity toHibernateEntity(HandicapGroupAddPayload domainAddPayload); HandicapGroupHibernateEntity toHibernateEntity(HandicapGroup domainEntity); abstract void updateHibernateEntity(
            HandicapGroup domainEntity,
            @MappingTarget HandicapGroupHibernateEntity hibernateEntity
    ); abstract HandicapGroup toDomainEntity(HandicapGroupHibernateEntity hibernateEntity); abstract List<HandicapGroup> toDomainEntityList(List<HandicapGroupHibernateEntity> hibernateEntityList); void setDao(HandicapGroupDao dao);  }