@SuppressWarnings("unchecked") @Test(expected = DS4PException.class) public void testCleanUpGeneratedEntryIds_Throws_XPathExpressionException() throws Exception { when( documentAccessorMock.getNodeList(isA(Document.class), eq(" XPathExpressionException.class); documentRedactor.cleanUpGeneratedEntryIds("someString"); }
@Override public String cleanUpGeneratedEntryIds(String document) { final String xPathExprGeneratedEntryId = " return cleanUpElements(document, xPathExprGeneratedEntryId); }
DocumentRedactorImpl implements DocumentRedactor { @Override public String cleanUpGeneratedEntryIds(String document) { final String xPathExprGeneratedEntryId = " return cleanUpElements(document, xPathExprGeneratedEntryId); } }
DocumentRedactorImpl implements DocumentRedactor { @Override public String cleanUpGeneratedEntryIds(String document) { final String xPathExprGeneratedEntryId = " return cleanUpElements(document, xPathExprGeneratedEntryId); } DocumentRedactorImpl(
			SimpleMarshaller marshaller,
			DocumentXmlConverter documentXmlConverter,
			DocumentAccessor documentAccessor,
			Set<AbstractDocumentLevelRedactionHandler> documentLevelRedactionHandlers,
			Set<AbstractObligationLevelRedactionHandler> obligationLevelRedactionHandlers,
			Set<AbstractClinicalFactLevelRedactionHandler> clinicalFactLevelRedactionHandlers,
			Set<AbstractPostRedactionLevelRedactionHandler> postRedactionLevelRedactionHandlers); }
DocumentRedactorImpl implements DocumentRedactor { @Override public String cleanUpGeneratedEntryIds(String document) { final String xPathExprGeneratedEntryId = " return cleanUpElements(document, xPathExprGeneratedEntryId); } DocumentRedactorImpl(
			SimpleMarshaller marshaller,
			DocumentXmlConverter documentXmlConverter,
			DocumentAccessor documentAccessor,
			Set<AbstractDocumentLevelRedactionHandler> documentLevelRedactionHandlers,
			Set<AbstractObligationLevelRedactionHandler> obligationLevelRedactionHandlers,
			Set<AbstractClinicalFactLevelRedactionHandler> clinicalFactLevelRedactionHandlers,
			Set<AbstractPostRedactionLevelRedactionHandler> postRedactionLevelRedactionHandlers); @Override String cleanUpEmbeddedClinicalDocumentFromFactModel(
			String factModelXml); @Override String cleanUpGeneratedEntryIds(String document); @Override String cleanUpGeneratedServiceEventIds(String document); @Override RedactedDocument redactDocument(String document,
			RuleExecutionContainer ruleExecutionContainer, FactModel factModel); }
DocumentRedactorImpl implements DocumentRedactor { @Override public String cleanUpGeneratedEntryIds(String document) { final String xPathExprGeneratedEntryId = " return cleanUpElements(document, xPathExprGeneratedEntryId); } DocumentRedactorImpl(
			SimpleMarshaller marshaller,
			DocumentXmlConverter documentXmlConverter,
			DocumentAccessor documentAccessor,
			Set<AbstractDocumentLevelRedactionHandler> documentLevelRedactionHandlers,
			Set<AbstractObligationLevelRedactionHandler> obligationLevelRedactionHandlers,
			Set<AbstractClinicalFactLevelRedactionHandler> clinicalFactLevelRedactionHandlers,
			Set<AbstractPostRedactionLevelRedactionHandler> postRedactionLevelRedactionHandlers); @Override String cleanUpEmbeddedClinicalDocumentFromFactModel(
			String factModelXml); @Override String cleanUpGeneratedEntryIds(String document); @Override String cleanUpGeneratedServiceEventIds(String document); @Override RedactedDocument redactDocument(String document,
			RuleExecutionContainer ruleExecutionContainer, FactModel factModel);  }