@SuppressWarnings("unchecked")
@Test(expected = DS4PException.class)
public void testCleanUpGeneratedEntryIds_Throws_XPathExpressionException()
		throws Exception {

	// Arrange
	when(
			documentAccessorMock.getNodeList(isA(Document.class),
					eq("//hl7:generatedEntryId"))).thenThrow(
			XPathExpressionException.class);
	// Act
	documentRedactor.cleanUpGeneratedEntryIds("someString");
}