@Test(expectedExceptions = DescriptorCannotBeParsedException.class)
public void testGetElementByXPathWhenExpressionIsInvalidShouldThrowException() throws XPathExpressionException {

    //GIVEN
    String expression = "";
    given(xPath.compile(expression)).willThrow(new XPathExpressionException("exception"));
    //given(xPathExpression.evaluate(document, XPathConstants.NODE)).willReturn(node);
    //WHEN
    underTest.getElementByXPath(expression, document);
    //THEN
}