XmlAttributeImpl extends AttributeImpl implements XmlAttribute { protected XmlAttributeImpl(String name, String value) { super(Schemas.XML_NAMESPACE, "xml", name, value); } protected  XmlAttributeImpl(String name, String value);   }
@Test public void testXmlAttributeImpl() { ConcreteXmlAttributeImpl attr = new ConcreteXmlAttributeImpl("lang", "en"); assertEquals(XML_NAMESPACE, attr.getNamespaceUri()); assertEquals("xml", attr.getPrefix()); assertEquals("lang", attr.getName()); assertEquals("en", attr.getValue()); }