  @Test
  public void testGetAllNamespaces ()
  {

    assertNotNull (UBL22DocumentTypes.getAllNamespaces ());
    assertNotNull (UBL22DocumentTypes.getAllLocalNames ());
    assertEquals (UBL22DocumentTypes.getAllNamespaces ().size (), UBL22DocumentTypes.getAllLocalNames ().size ());

    for (final String sNamespace : UBL22DocumentTypes.getAllNamespaces ())
    {
      assertNotNull (UBL22DocumentTypes.getDocumentTypeOfNamespace (sNamespace));
      assertNotNull (UBL22DocumentTypes.getImplementationClassOfNamespace (sNamespace));
      assertNotNull (UBL22DocumentTypes.getSchemaOfNamespace (sNamespace));
    }
    assertNull (UBL22DocumentTypes.getDocumentTypeOfNamespace ("any"));
    assertNull (UBL22DocumentTypes.getImplementationClassOfNamespace ("any"));
    assertNull (UBL22DocumentTypes.getSchemaOfNamespace ("any"));
    assertNull (UBL22DocumentTypes.getDocumentTypeOfNamespace (null));
    assertNull (UBL22DocumentTypes.getImplementationClassOfNamespace (null));
    assertNull (UBL22DocumentTypes.getSchemaOfNamespace (null));

    for (final String sNamespace : UBL22DocumentTypes.getAllLocalNames ())
    {
      assertNotNull (UBL22DocumentTypes.getDocumentTypeOfLocalName (sNamespace));
      assertNotNull (UBL22DocumentTypes.getImplementationClassOfLocalName (sNamespace));
      assertNotNull (UBL22DocumentTypes.getSchemaOfLocalName (sNamespace));
    }
    assertNull (UBL22DocumentTypes.getDocumentTypeOfLocalName ("any"));
    assertNull (UBL22DocumentTypes.getImplementationClassOfLocalName ("any"));
    assertNull (UBL22DocumentTypes.getSchemaOfLocalName ("any"));
    assertNull (UBL22DocumentTypes.getDocumentTypeOfLocalName (null));
    assertNull (UBL22DocumentTypes.getImplementationClassOfLocalName (null));
    assertNull (UBL22DocumentTypes.getSchemaOfLocalName (null));
  }