assertXpathExists("/gss:PostDiff/gss:Changes/wfs:Delete", doc);
}
public void testParse() throws Exception {
document = dom("PostDiffRequest.xml");
PostDiffType pd = (PostDiffType) parse(GSS.PostDiffType);
assertEquals(15, pd.getFromVersion());
assertEquals(47, pd.getToVersion());
assertEquals(SF_NAMESPACE, pd.getTypeName().getNamespaceURI());
assertEquals("restricted", pd.getTypeName().getLocalPart());
assertNotNull(pd.getTransaction());
assertEquals(1, pd.getTransaction().getDelete().size());
assertEquals(1, pd.getTransaction().getUpdate().size());
assertEquals(1, pd.getTransaction().getInsert().size());
// print(encode(pd, GSS.PostDiff));
}