@Test
public void readValueByXPathExp() throws Exception {

    String simpleDefaultStringElement = prepareElement(STRING_TAG, DEFAULT_STRING);
    String simpleStringElement = prepareElement(STRING_TAG, stringValue);
    String grandChildXml = prepareElement(XML_GRAND_CHILD_TAG, simpleStringElement);
    String childXml = prepareElement(XML_CHILD_TAG, grandChildXml);
    String rootXml = prepareElement(XML_ROOT_TAG, simpleDefaultStringElement + childXml);
    xsr = new XmlSettingsReader(rootXml);
    
    String xPath = "descendant::" + XML_GRAND_CHILD_TAG;
    String readStringPropertyByXPath = xsr.getStringPropertyByXPath(xPath, STRING_TAG, DEFAULT_STRING);
    
    assertNotEquals(stringValue, DEFAULT_INT);
    assertEquals(stringValue, readStringPropertyByXPath);
}