@Test
void should_ReturnRepresentationModel_When_ConvertingEntityToRepresentationModel() {

  // given
  WorkbasketImpl workbasket = (WorkbasketImpl) workbasketService.newWorkbasket("1", "DOMAIN_A");
  workbasket.setId("ID");
  workbasket.setType(WorkbasketType.PERSONAL);
  workbasket.setName("Testbasket");
  workbasket.setOrgLevel1("Org1");
  workbasket.setOrgLevel2("Org2");
  workbasket.setOrgLevel3("Org3");
  workbasket.setOrgLevel4("Org4");
  workbasket.setDescription("A test workbasket");
  workbasket.setCustom1("1");
  workbasket.setCustom2("2");
  workbasket.setCustom3("3");
  workbasket.setCustom4("4");
  workbasket.setOwner("Lars");
  workbasket.setCreated(Instant.parse("2010-01-01T12:00:00Z"));
  workbasket.setModified(Instant.parse("2010-01-01T12:00:00Z"));
  // when
  WorkbasketRepresentationModel repModel =
      workbasketRepresentationModelAssembler.toModel(workbasket);
  // then
  testEquality(workbasket, repModel);
  testLinks(repModel);
}