### Question:
ModelNominalLabelResourceFacadeImp extends CoreDBServiceFacadeImp<ModelNominalLabel, Long> implements ModelNominalLabelResourceFacade { @Override public ModelNominalLabelDTO editModelNominalLabel(ModelNominalLabelDTO modelNominalLabel) throws PropertyNotSetException { logger.info("Received request for: " + modelNominalLabel.getIdDTO().getNominalLabelId() + ":" + modelNominalLabel.getIdDTO().getModelId()); try { ModelNominalLabel label = modelNominalLabel.toEntity(); ModelNominalLabel oldLabel = getByCriteria(Restrictions.eq("id", modelNominalLabel.getIdDTO().toEntity())); if (oldLabel != null) { oldLabel = em.merge(label); return (oldLabel != null) ? new ModelNominalLabelDTO(oldLabel) : null; } else { throw new RuntimeException("Not found"); } } catch (Exception e) { logger.error("Exception in merging/updating nominalLabel: " + modelNominalLabel.getIdDTO().getNominalLabelId(), e); } return null; } protected  ModelNominalLabelResourceFacadeImp(); @Override List<ModelNominalLabelDTO> getAllModelNominalLabels(); @Override List<ModelNominalLabelDTO> getAllModelNominalLabelsByModelID(Long modelID, String crisisCode); @Override void saveModelNominalLabel(ModelNominalLabelDTO modelNominalLabel); @Override ModelNominalLabelDTO addModelNominalLabel(ModelNominalLabelDTO modelNominalLabel); @Override ModelNominalLabelDTO editModelNominalLabel(ModelNominalLabelDTO modelNominalLabel); @Override Integer deleteModelNominalLabel(ModelNominalLabelDTO modelNominalLabel); @Override ModelNominalLabelDTO getModelNominalLabelByID(Long nominalLabelID); @Override Boolean isModelNominalLabelExists(Long nominalLabelID); @Override void deleteModelNominalLabelByModelID(Long modelID);  }### Answer:
@Test public void testEditModelNominalLabel() { try { modelNominalLabel.setClassifiedDocumentCount(5); ModelNominalLabelDTO modelNominalLabelDTO = modelNominalLabelResourceFacadeImp.editModelNominalLabel(modelNominalLabel); assertNotNull(modelNominalLabelDTO); assertTrue("Data updated", modelNominalLabelDTO.getClassifiedDocumentCount() == 5); } catch (PropertyNotSetException e) { logger.error("PropertyNotSetException while executing testEditModelNominalLabel "+e.getMessage()); } }