### Question:
ClassificationRepresentationModelAssembler implements TaskanaPagingAssembler<Classification, ClassificationRepresentationModel> { public Classification toEntityModel(ClassificationRepresentationModel repModel) { ClassificationImpl classification = (ClassificationImpl) classificationService.newClassification( repModel.getKey(), repModel.getDomain(), repModel.getType()); classification.setApplicationEntryPoint(repModel.getApplicationEntryPoint()); classification.setCategory(repModel.getCategory()); classification.setName(repModel.getName()); classification.setParentId(repModel.getParentId()); classification.setParentKey(repModel.getParentKey()); classification.setPriority(repModel.getPriority()); classification.setServiceLevel(repModel.getServiceLevel()); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_1, repModel.getCustom1()); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_2, repModel.getCustom2()); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_3, repModel.getCustom3()); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_4, repModel.getCustom4()); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_5, repModel.getCustom5()); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_6, repModel.getCustom6()); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_7, repModel.getCustom7()); classification.setCustomAttribute(ClassificationCustomField.CUSTOM_8, repModel.getCustom8()); classification.setIsValidInDomain(repModel.getIsValidInDomain()); classification.setDescription(repModel.getDescription()); classification.setId(repModel.getClassificationId()); classification.setCreated(repModel.getCreated()); classification.setModified(repModel.getModified()); return classification; } @Autowired  ClassificationRepresentationModelAssembler(ClassificationService classificationService); @NonNull @Override ClassificationRepresentationModel toModel(@NonNull Classification classification); @Override TaskanaPagedModelKeys getProperty(); Classification toEntityModel(ClassificationRepresentationModel repModel);  }### Answer:
@Test void should_ReturnEntity_When_ConvertingRepresentationModelToEntity() { 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); Classification classification = assembler.toEntityModel(repModel); testEquality(classification, repModel); }