assertEquals("http://www.openplans.org/spearfish", gd.getTypeName().getNamespaceURI());
assertEquals("restricted", gd.getTypeName().getLocalPart());
}
public void testEncode() throws Exception {
GetDiffType gd = new GetDiffType();
gd.setTypeName(new QName(SF_NAMESPACE, "restricted"));
gd.setFromVersion(15);
Document doc = encode(gd, GSS.GetDiff);
print(doc);
assertXpathEvaluatesTo("GSS", "/gss:GetDiff/@service", doc);
assertXpathEvaluatesTo("1.0.0", "/gss:GetDiff/@version", doc);