@Test public void testGetValue() { String value = underTest.getValue("local-name(/*[1])", request()); Assert.assertEquals(value, "BOB"); }
public String getValue(final String typeQuery, final String xml) { XPath xPath = xPathProvider.getXPath(); InputSource source = new InputSource(new StringReader(xml)); return evaluate(typeQuery, xPath, source); }
XmlXpathResolver { public String getValue(final String typeQuery, final String xml) { XPath xPath = xPathProvider.getXPath(); InputSource source = new InputSource(new StringReader(xml)); return evaluate(typeQuery, xPath, source); } }
XmlXpathResolver { public String getValue(final String typeQuery, final String xml) { XPath xPath = xPathProvider.getXPath(); InputSource source = new InputSource(new StringReader(xml)); return evaluate(typeQuery, xPath, source); }  }
XmlXpathResolver { public String getValue(final String typeQuery, final String xml) { XPath xPath = xPathProvider.getXPath(); InputSource source = new InputSource(new StringReader(xml)); return evaluate(typeQuery, xPath, source); }  String getValue(final String typeQuery, final String xml); }
XmlXpathResolver { public String getValue(final String typeQuery, final String xml) { XPath xPath = xPathProvider.getXPath(); InputSource source = new InputSource(new StringReader(xml)); return evaluate(typeQuery, xPath, source); }  String getValue(final String typeQuery, final String xml);  }