@Test
 public void testGetAttrs1() {
   System.out.println("getAttrs1");
   final SAXDocumentElement instance = new SAXDocumentElement("testElement");
   final String name = "myqname";
   final String value = "!IMPORTANT!_VaLuE";
   final SAXAttributeData data =
       new SAXAttributeData("", "/te%rrible/myQName", "myQName", "someTyPe", value);
   instance.getAttrs().put(name, data);
   final Map<String, SAXAttributeData> result = instance.getAttrs();
   final String storedValue = result.get(name).getValue();
   assertEquals(value, storedValue);
 }
 @Test
 public void testGetAttrs0() {
   System.out.println("getAttrs0");
   final SAXDocumentElement instance = new SAXDocumentElement("testElement");
   final int expResult = 0;
   final Map<String, SAXAttributeData> result = instance.getAttrs();
   assertEquals(expResult, result.size());
 }
 @Test
 public void testIsCTypeButNotNamed() {
   System.out.println("isNamedComplexType but not named");
   final SAXDocumentElement instance = new SAXDocumentElement("complexType");
   final String name = "notNamed";
   final SAXAttributeData data =
       new SAXAttributeData("", "/te%rrible/myQName", name, "someTyPe", "yes this is named CType");
   instance.getAttrs().put(name, data);
   final boolean expResult = true;
   final boolean result = instance.isComplexType();
   assertEquals(expResult, result);
 }
 @Test
 public void testIsNamedComplexType3() {
   System.out.println("isNamedComplexType3");
   final SAXDocumentElement instance = new SAXDocumentElement("complextype");
   final String name = "name";
   final SAXAttributeData data =
       new SAXAttributeData("", "/te%rrible/myQName", name, "someTyPe", "yes this is named CType");
   instance.getAttrs().put(name, data);
   final boolean expResult = false;
   final boolean result = (instance.isComplexType() && instance.hasAttribute(XSDAttribute.NAME));
   assertEquals(expResult, result);
 }
 @Test
 public void testIsComplexType2() {
   System.out.println("isNamedComplexType2");
   // check is case sensitive
   final SAXDocumentElement instance = new SAXDocumentElement("xs:complextype");
   final String name = "notNamed";
   final SAXAttributeData data =
       new SAXAttributeData(
           "", "/te%rrible/myQName", name, "someTyPe", "NO this is not a named CType");
   instance.getAttrs().put(name, data);
   final boolean expResult = false;
   final boolean result = instance.isComplexType();
   assertEquals(expResult, result);
 }