### Question:
XNode { public String toString() { Deque<XNode> parentNodes = getParentNodes(); StringBuilder sb = new StringBuilder(); while (!parentNodes.isEmpty()) { sb.append(parentNodes.pop().getXPath()); } sb.append(getXPath()); nsMap.put(prefix, name.getNamespaceURI()); return sb.toString(); }  void setFailurePoint(XNode point); XNode getFailurePoint(); String getPrefix(); void setPrefix(final String newPrefix); QName getQName(); void setQName(final QName newName); String getAttributeName(); void setAttributeName(final String newAttributeName); String getAttributeValue(); void setAttributeValue(final String newAttributeValue); void setDefaultAttributeValue(boolean b); boolean isDefaultAttributeValue(); XNode getParentNode(); void setParentNode(final XNode newParentNode); Map<String, String> getNSMap(); String getText(); String getPlainText(); String getXPath(); String toString(); boolean matches(Document doc);  }### Answer:
@Test public void testWSDLDefinition() { XDef def = new XDef(); assertEquals("/wsdl:definitions", def.toString()); }