buildDocument(xml);
GetPropertyValueType gf = (GetPropertyValueType) parse();
assertNotNull(gf);
assertEquals("foo", gf.getValueReference());
QueryType q = (QueryType) gf.getAbstractQueryExpression();
assertNotNull(q);
assertEquals(new URI("epsg:4326"), q.getSrsName());
assertEquals(1, q.getTypeNames().size());
assertEquals(
new QName("http://www.someserver.com/myns", "InWaterA_1M"), q.getTypeNames().get(0));
Id f = (Id) q.getFilter();
assertNotNull(f);
assertEquals(1, f.getIdentifiers().size());
assertEquals("InWaterA_1M.1234", f.getIdentifiers().iterator().next().getID());
}