@Test
public void functionsCanBeUsedToReturnDataThatCanBeMatchedAgainst() {

	assertThat(xml, hasXPath("count(/mountains/mountain)", equalTo("2")));
	assertThat(xml,//
			hasXPath("count(/mountains/mountain)", //
					returningANumber(), //
					greaterThanOrEqualTo(2d)));
	assertThat(xml,//
			hasXPath("count(/mountains/mountain)", //
					returningANumber(), //
					not(lessThanOrEqualTo(1d))));
}