@Test
public void theResultOfTheXpathCanMatchedUsingEquivalentToWhenTheResultIsABoolean() {

	assertThat(xml,//
			hasXPath("/mountains/volcanoe/@good", //
					returningABoolean(),//
					equalTo(true)));
	assertThat(xml,//
			hasXPath("not(/mountains/climber)", //
					returningABoolean(),//
					equalTo(true)));
	assertThat(xml,//
			hasXPath("not(/mountains/volcanoe/@good)", //
					returningABoolean(),//
					equalTo(false)));
}