assertEquals(0, names.size());
registry.register(BROWSER_COMPATIBILITY,
new BrowserCompatSpecFactory());
registry.register(NETSCAPE,
new NetscapeDraftSpecFactory());
registry.register(RFC_2109,
new RFC2109SpecFactory());
registry.register(RFC_2109,
new RFC2109SpecFactory());
registry.register(NETSCAPE,
new NetscapeDraftSpecFactory());
names = registry.getSpecNames();
assertNotNull(names);
assertEquals(3, names.size());
assertEquals(BROWSER_COMPATIBILITY.toLowerCase(Locale.ENGLISH), names.get(0));