@Test
public void testGetNode() {

    OMElement root = adapter.getRootElement();
    // select text node
    Object textNode = adapter.getNode( root, new XPath( "wfs:Query/ogc:Filter/ogc:BBOX/ogc:PropertyName/text()",
                                                        nsContext ) );
    assertEquals( "app:placeOfBirth/app:Place/app:country/app:Country/app:geom", ( (OMText) textNode ).getText() );
    // select attribute node
    Object attributeNode = adapter.getNode( root, new XPath( "wfs:Query/@typeName", nsContext ) );
    assertEquals( "app:Philosopher", ( (OMAttribute) attributeNode ).getAttributeValue() );
}