@Test
  public void testGetDocumentTypesWithStyles() throws Exception {
    final ConfigurationRegistry configurationRegistry =
        new ConfigurationRegistryImpl(new ConfigLoaderJob());
    configurationRegistry.loadConfigurations();

    final DocumentType[] doctypes = configurationRegistry.getDocumentTypesWithStyles();
    boolean dtdFound = false;
    boolean schemaFound = false;
    for (final DocumentType doctype : doctypes) {
      if ("test doctype".equals(doctype.getName())) {
        dtdFound = true;
      }
      if ("test schema doctype".equals(doctype.getName())) {
        schemaFound = true;
      }
    }
    assertTrue("DoctypeWithStyles should return Doctype with DTD ", dtdFound);
    assertTrue("DoctypeWithStyles should return Docype with namespace ", schemaFound);
  }
  @Test
  public void testPluginNamespaceDefinition() throws Exception {
    final ConfigurationRegistry configurationRegistry =
        new ConfigurationRegistryImpl(new ConfigLoaderJob());
    configurationRegistry.loadConfigurations();

    final DocumentType doctype =
        configurationRegistry.getDocumentType("http://org.eclipse.vex/namespace", null);
    assertNotNull(doctype);
    assertEquals("test schema doctype", doctype.getName());
  }