public final void testFeatureMap() throws Exception {
EMFXPath xpath = new EMFXPath("/resources/contents/t:test/t:subTest[x:value='2']");
xpath.addNamespace("t", "urn:test");
xpath.addNamespace("x", XMLTypePackage.eNS_URI);
SimpleAnyType result = (SimpleAnyType) xpath.selectSingleNode(fixture);
assertNotNull(result);
assertEquals(new Integer(2), result.getValue());
}
public final void testNamespaces() throws Exception {