public OMDOMFactoryTest(String name) {
super(name);
}
public void testCreateElement() {
OMDOMFactory factory = new OMDOMFactory();
String localName = "TestLocalName";
String namespace = "http://ws.apache.org/axis2/ns";
String prefix = "axis2";
OMElement elem = factory.createOMElement(localName,namespace,prefix);
QName qname = elem.getQName();
assertEquals("Localname mismatch",localName,qname.getLocalPart());
assertEquals("Namespace mismatch",namespace,qname.getNamespaceURI());
assertEquals("namespace prefix mismatch", prefix, qname.getPrefix());