@Test
public void testGetAllNamespaces ()
{

  assertNotNull (UBL20DocumentTypes.getAllNamespaces ());
  assertNotNull (UBL20DocumentTypes.getAllLocalNames ());
  assertEquals (UBL20DocumentTypes.getAllNamespaces ().size (), UBL20DocumentTypes.getAllLocalNames ().size ());
  for (final String sNamespace : UBL20DocumentTypes.getAllNamespaces ())
  {
    assertNotNull (UBL20DocumentTypes.getDocumentTypeOfNamespace (sNamespace));
    assertNotNull (UBL20DocumentTypes.getImplementationClassOfNamespace (sNamespace));
    assertNotNull (UBL20DocumentTypes.getSchemaOfNamespace (sNamespace));
  }
  assertNull (UBL20DocumentTypes.getDocumentTypeOfNamespace ("any"));
  assertNull (UBL20DocumentTypes.getImplementationClassOfNamespace ("any"));
  assertNull (UBL20DocumentTypes.getSchemaOfNamespace ("any"));
  assertNull (UBL20DocumentTypes.getDocumentTypeOfNamespace (null));
  assertNull (UBL20DocumentTypes.getImplementationClassOfNamespace (null));
  assertNull (UBL20DocumentTypes.getSchemaOfNamespace (null));
  for (final String sNamespace : UBL20DocumentTypes.getAllLocalNames ())
  {
    assertNotNull (UBL20DocumentTypes.getDocumentTypeOfLocalName (sNamespace));
    assertNotNull (UBL20DocumentTypes.getImplementationClassOfLocalName (sNamespace));
    assertNotNull (UBL20DocumentTypes.getSchemaOfLocalName (sNamespace));
  }
  assertNull (UBL20DocumentTypes.getDocumentTypeOfLocalName ("any"));
  assertNull (UBL20DocumentTypes.getImplementationClassOfLocalName ("any"));
  assertNull (UBL20DocumentTypes.getSchemaOfLocalName ("any"));
  assertNull (UBL20DocumentTypes.getDocumentTypeOfLocalName (null));
  assertNull (UBL20DocumentTypes.getImplementationClassOfLocalName (null));
  assertNull (UBL20DocumentTypes.getSchemaOfLocalName (null));
}