@Test
void should_ReturnEntity_When_ConvertingRepresentationModelToEntity() {

  // given
  ClassificationRepresentationModel repModel = new ClassificationRepresentationModel();
  repModel.setKey("KEY_B");
  repModel.setName("name");
  repModel.setDomain("DOMAIN_B");
  repModel.setType("AB");
  repModel.setClassificationId("1");
  repModel.setApplicationEntryPoint("Test");
  repModel.setCategory("ABC");
  repModel.setCreated(Instant.parse("2010-01-01T12:00:00Z"));
  repModel.setModified(Instant.parse("2011-11-11T11:00:00Z"));
  repModel.setCustom1("Custom1");
  repModel.setCustom2("Custom2");
  repModel.setCustom3("Custom3");
  repModel.setCustom4("Custom4");
  repModel.setCustom5("Custom5");
  repModel.setCustom6("Custom6");
  repModel.setCustom7("Custom7");
  repModel.setCustom8("Custom8");
  repModel.setParentId("2");
  repModel.setParentKey("parentKey");
  repModel.setPriority(2);
  repModel.setApplicationEntryPoint("12");
  repModel.setServiceLevel("P1D");
  repModel.setDescription("Test");
  repModel.setIsValidInDomain(true);
  // when
  Classification classification = assembler.toEntityModel(repModel);
  // then
  testEquality(classification, repModel);
}