* @throws JAXBException Should not happen.
*/
@Test
public void testTypeName() throws JAXBException {
final NameFactory factory = DefaultFactories.NAMES;
final TypeName name = factory.createTypeName(null, "An other local name");
assertEquals("An other local name", name.toString());
final String expected =
"<gml:IO_IdentifiedObject xmlns:gml=\"" + Namespaces.GML + '"' +
" xmlns:gco=\"" + Namespaces.GCO + "\">\n" +
" <gml:alias>\n" +
" <gco:TypeName>\n" +