### Question:
ClassificationRepresentationModelAssembler implements TaskanaPagingAssembler<Classification, ClassificationRepresentationModel> { @NonNull @Override public ClassificationRepresentationModel toModel(@NonNull Classification classification) { ClassificationRepresentationModel repModel = new ClassificationRepresentationModel(); repModel.setClassificationId(classification.getId()); repModel.setApplicationEntryPoint(classification.getApplicationEntryPoint()); repModel.setCategory(classification.getCategory()); repModel.setDomain(classification.getDomain()); repModel.setKey(classification.getKey()); repModel.setName(classification.getName()); repModel.setParentId(classification.getParentId()); repModel.setParentKey(classification.getParentKey()); repModel.setPriority(classification.getPriority()); repModel.setServiceLevel(classification.getServiceLevel()); repModel.setType(classification.getType()); repModel.setCustom1(classification.getCustomAttribute(ClassificationCustomField.CUSTOM_1)); repModel.setCustom2(classification.getCustomAttribute(ClassificationCustomField.CUSTOM_2)); repModel.setCustom3(classification.getCustomAttribute(ClassificationCustomField.CUSTOM_3)); repModel.setCustom4(classification.getCustomAttribute(ClassificationCustomField.CUSTOM_4)); repModel.setCustom5(classification.getCustomAttribute(ClassificationCustomField.CUSTOM_5)); repModel.setCustom6(classification.getCustomAttribute(ClassificationCustomField.CUSTOM_6)); repModel.setCustom7(classification.getCustomAttribute(ClassificationCustomField.CUSTOM_7)); repModel.setCustom8(classification.getCustomAttribute(ClassificationCustomField.CUSTOM_8)); repModel.setIsValidInDomain(classification.getIsValidInDomain()); repModel.setCreated(classification.getCreated()); repModel.setModified(classification.getModified()); repModel.setDescription(classification.getDescription()); try { repModel.add( WebMvcLinkBuilder.linkTo( methodOn(ClassificationController.class) .getClassification(classification.getId())) .withSelfRel()); } catch (ClassificationNotFoundException e) { throw new SystemException("caught unexpected Exception.", e.getCause()); } return repModel; } @Autowired  ClassificationRepresentationModelAssembler(ClassificationService classificationService); @NonNull @Override ClassificationRepresentationModel toModel(@NonNull Classification classification); @Override TaskanaPagedModelKeys getProperty(); Classification toEntityModel(ClassificationRepresentationModel repModel);  }### Answer:
@Test void should_ReturnRepresentationModel_When_ConvertingEntityToRepresentationModel() { ClassificationImpl classification = (ClassificationImpl) classificationService.newClassification("KEY_A", "DOMAIN_A", "A"); classification.setId("1"); classification.setCategory("ABC"); classification.setName("Classification 1"); classification.setIsValidInDomain(true); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_1, "Custom1"); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_2, "Custom2"); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_3, "Custom3"); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_4, "Custom4"); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_5, "Custom5"); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_6, "Custom6"); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_7, "Custom7"); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_8, "Custom8"); classification.setParentId("2"); classification.setParentKey("parentKey"); classification.setPriority(2); classification.setApplicationEntryPoint("12"); classification.setServiceLevel("P1D"); classification.setDescription("Test"); classification.setCreated(Instant.parse("2010-01-01T12:00:00Z")); classification.setModified(Instant.parse("2011-11-11T11:00:00Z")); ClassificationRepresentationModel repModel = assembler.toModel(classification); testEquality(classification, repModel); testLinks(repModel); }