/** Test for proper creation of prefixes.
*/
public void testPrefixes() throws Exception {
AllTypesElementImpl el = new AllTypesElementImpl();
JMSAXDriver driver = new AllTypesElementTypeDriver();
assertEquals("ex", driver.getPreferredPrefix(el.getQName().getNamespaceURI()));
assertNull(driver.getPreferredPrefix("dummyURI"));
}