protected XSParticle assertComplexContent(XSComplexType pType) throws SAXException {
assertTrue(!pType.hasSimpleContent());
XSParticle result = pType.getParticle();
assertNotNull(result);
XsComplexContentType ccType = pType.getComplexContentType();
assertNotNull(pType.getComplexContentType());
int num = 0;
if (pType.isElementOnly()) {
++num;
assertEquals(XsComplexContentType.ELEMENT_ONLY, ccType);