### Question:
SAXElement { public QName getName() { return name; } SAXElement(String namespaceURI, String localName);  SAXElement(String namespaceURI, String localName, SAXElement parent);  SAXElement(String namespaceURI, String localName, String qName, Attributes attributes, SAXElement parent);  SAXElement(QName name, Attributes attributes, SAXElement parent); void accumulateText(); List<SAXText> getText(); void addText(String text); void addText(String text, TextType type); String getTextContent(); Writer getWriter(SAXVisitor visitor); void setWriter(Writer writer, SAXVisitor visitor); boolean isWriterOwner(SAXVisitor visitor); QName getName(); void setName(QName name); Attributes getAttributes(); void setAttributes(Attributes attributes); String getAttribute(String attribute); String getAttributeNS(String namespaceURI, String attribute); void setAttribute(String attribute, String value); void setAttributeNS(String namespaceURI, String name, String value); void removeAttribute(String name); void removeAttributeNS(String namespaceURI, String name); Object getCache(SAXVisitor visitor); void setCache(SAXVisitor visitor, Object cache); SAXElement getParent(); void setParent(SAXElement parent); String toString(); final boolean equals(Object obj); final int hashCode(); Element toDOMElement(Document document);  }### Answer:
@Test public void test_create() { SAXElement saxElement; saxElement = new SAXElement("http: assertEquals("http: assertEquals("", saxElement.getName().getPrefix()); assertEquals("a", saxElement.getName().getLocalPart()); saxElement = new SAXElement("http: assertEquals("http: assertEquals("", saxElement.getName().getPrefix()); assertEquals("x", saxElement.getName().getLocalPart()); saxElement = new SAXElement("http: assertEquals("http: assertEquals("x", saxElement.getName().getPrefix()); assertEquals("a", saxElement.getName().getLocalPart()); saxElement = new SAXElement("http: assertEquals("http: assertEquals("", saxElement.getName().getPrefix()); assertEquals("x", saxElement.getName().getLocalPart()); saxElement = new SAXElement("http: assertEquals("http: assertEquals("", saxElement.getName().getPrefix()); assertEquals("x", saxElement.getName().getLocalPart()); try { new SAXElement("http: fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { assertEquals("Invalid QName: namespaceURI='http: } try { new SAXElement(null, null, null, new AttributesImpl(), null); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { assertEquals("Invalid QName: namespaceURI='null', localName='null', qName='null'.", e.getMessage()); } }