@Test
 public void testAssociateAll() {
   System.out.println("test associate all");
   final SAXDocumentElement instance = new SAXDocumentElement("all");
   boolean expResult = false;
   boolean result = instance.isAssociated();
   assertEquals(expResult, result);
   instance.associate();
   expResult = true;
   result = instance.isAssociated();
   assertEquals(expResult, result);
 }
 @Test(expected = XSDException.class)
 public void testAssociateWithUnnamedCType() {
   System.out.println("associateWithUnnamedCType");
   final SAXDocumentElement instance = new SAXDocumentElement("complexType");
   boolean expResult = false;
   boolean result = instance.isAssociated();
   assertEquals(expResult, result);
   instance.associate();
   expResult = true;
   result = instance.isAssociated();
   assertEquals(expResult, result);
 }