}
assertTrue("The set should have been empty, but instead contained: " + s + ".", s.isEmpty());
s.clear();
s.add("org.apache.ws.commons.schema.XmlSchemaGroup");
XmlSchemaGroup xsg = null;
Iterator<XmlSchemaGroup> i = t.values().iterator();
while (i.hasNext()) {
xsg = (XmlSchemaGroup)i.next();
s.remove(xsg.getClass().getName());
}
assertTrue("The set should have been empty, but instead contained: " + s + ".", s.isEmpty());
assertNotNull(xsg);
assertEquals("priceGroup", xsg.getName());
XmlSchemaChoice xsc = (XmlSchemaChoice)xsg.getParticle();
assertNotNull(xsc);
s.clear();
s.add("fullPrice");
s.add("salePrice");