@Test
void should_ReturnEntity_When_ConvertingRepresentationModelToEntity() {

  // given
  WorkbasketAccessItemRepresentationModel repModel =
      new WorkbasketAccessItemRepresentationModel();
  repModel.setAccessId("10");
  repModel.setWorkbasketKey("workbasketKey");
  repModel.setAccessItemId("120");
  repModel.setWorkbasketId("1");
  repModel.setAccessName("accessName");
  repModel.setPermRead(true);
  repModel.setPermAppend(false);
  repModel.setPermDistribute(false);
  repModel.setPermOpen(false);
  repModel.setPermTransfer(true);
  repModel.setPermCustom1(false);
  repModel.setPermCustom2(false);
  repModel.setPermCustom3(false);
  repModel.setPermCustom4(false);
  repModel.setPermCustom5(true);
  repModel.setPermCustom6(false);
  repModel.setPermCustom7(false);
  repModel.setPermCustom8(false);
  repModel.setPermCustom9(false);
  repModel.setPermCustom10(false);
  repModel.setPermCustom11(true);
  repModel.setPermCustom12(false);
  // when
  WorkbasketAccessItem accessItem = assembler.toEntityModel(repModel);
  // then
  testEquality(accessItem, repModel);
}