@SuppressWarnings("unchecked") @Test(expected = DS4PException.class) public void testCleanUpGeneratedEntryIds_Throws_Exception() throws Exception { final String c32WithGeneratedEntryIds = "someDocument"; when(documentXmlConverterSpy.loadDocument(c32WithGeneratedEntryIds)) .thenThrow(Exception.class); documentRedactor.cleanUpGeneratedEntryIds(c32WithGeneratedEntryIds); }
@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);  }