@Test
void should_ReturnEntity_When_ConvertingRepresentationModelToEntity() {

  // given
  WorkbasketRepresentationModel workbasketRepresentationModel =
      new WorkbasketRepresentationModel();
  workbasketRepresentationModel.setWorkbasketId("1");
  workbasketRepresentationModel.setCreated(Instant.parse("2010-01-01T12:00:00Z"));
  workbasketRepresentationModel.setModified(Instant.parse("2010-01-01T12:00:00Z"));
  workbasketRepresentationModel.setCustom1("Custom1");
  workbasketRepresentationModel.setCustom2("Custom2");
  workbasketRepresentationModel.setCustom3("Custom3");
  workbasketRepresentationModel.setCustom4("Custom4");
  workbasketRepresentationModel.setDescription("Test Ressource");
  workbasketRepresentationModel.setDomain("DOMAIN_A");
  workbasketRepresentationModel.setKey("1");
  workbasketRepresentationModel.setName("Ressource");
  workbasketRepresentationModel.setOrgLevel1("Org1");
  workbasketRepresentationModel.setOrgLevel2("Org2");
  workbasketRepresentationModel.setOrgLevel3("Org3");
  workbasketRepresentationModel.setOrgLevel4("Org4");
  workbasketRepresentationModel.setOwner("Lars");
  workbasketRepresentationModel.setType(WorkbasketType.PERSONAL);
  // when
  Workbasket workbasket =
      workbasketRepresentationModelAssembler.toEntityModel(workbasketRepresentationModel);
  // then
  testEquality(workbasket, workbasketRepresentationModel);
}