@Test
public void matchesNodesInTheXmlWhenNamespacesAreBound() {

	assertThat(xml, hasXPath("/mountains", usingNamespaces));
	assertThat(xml, hasXPath("/mountains/mountain", usingNamespaces));
	assertThat(xml,
			hasXPath("/mountains/mountain[2]/name", usingNamespaces));
	assertThat(xml, hasXPath("/mountains/oceanRidge", usingNamespaces));
	assertThat(xml, not(hasXPath("/mountains/range")));
	assertThat(xml, hasXPath("/mountains/m:range", usingNamespaces));
}