@Test
void should_ReturnRepresentationModel_When_ConvertingEntityToRepresentationModel() {

  // given
  ClassificationSummaryImpl classification =
      (ClassificationSummaryImpl)
          classificationService.newClassification("DOMAIN_A", "1", "A").asSummary();
  classification.setId("1");
  classification.setCategory("ABC");
  classification.setName("Classification 1");
  classification.setCustom1("Custom1");
  classification.setCustom2("Custom2");
  classification.setCustom3("Custom3");
  classification.setCustom4("Custom4");
  classification.setCustom5("Custom5");
  classification.setCustom6("Custom6");
  classification.setCustom7("Custom7");
  classification.setCustom8("Custom8");
  classification.setParentId("2");
  classification.setParentKey("parentKey");
  classification.setPriority(2);
  classification.setApplicationEntryPoint("12");
  classification.setServiceLevel("P1D");
  // when
  ClassificationSummaryRepresentationModel repModel = assembler.toModel(classification);
  // then
  testEquality(classification, repModel);
  testLinks(repModel);
}