@Test
void should_ReturnRepresentationModel_When_ConvertingEntityToRepresentationModel() {

  // given
  WorkbasketSummaryImpl workbasketSummary =
      (WorkbasketSummaryImpl) workbasketService.newWorkbasket("1", "DOMAIN_A").asSummary();
  workbasketSummary.setDescription("WorkbasketSummaryImplTes");
  workbasketSummary.setId("1");
  workbasketSummary.setName("WorkbasketSummary");
  workbasketSummary.setCustom1("custom1");
  workbasketSummary.setCustom2("custom2");
  workbasketSummary.setCustom3("custom3");
  workbasketSummary.setCustom4("custom4");
  workbasketSummary.setOrgLevel1("Org1");
  workbasketSummary.setOrgLevel2("Org2");
  workbasketSummary.setOrgLevel3("Org3");
  workbasketSummary.setOrgLevel4("Org4");
  workbasketSummary.setOwner("Lars");
  workbasketSummary.setType(WorkbasketType.PERSONAL);
  // when
  WorkbasketSummaryRepresentationModel repModel = assembler.toModel(workbasketSummary);
  // then
  testEquality(workbasketSummary, repModel);
  testLinks(repModel);
}