@Test
  public void testGetDescriptorImplNotInOntology() {

    System.out.println("=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.");
    System.out.println("Impl not in onology:");
    System.out.println("=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.");
    boolean toFail = false;
    for (DescriptorImpl impl : qsar.getFullDescriptorImpls()) {
      if (qsar.getDescriptorIDs().contains(impl.getDefinition())) {
        // All is well
      } else {
        System.out.println(
            "=.= Descriptor impl: " + impl.getName() + " with def: " + impl.getDefinition());
        toFail = true;
      }
    }
    System.out.println("=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.");

    assertFalse("Not all CDK impl are present in ontology, see list on stdout", toFail);
  }
  @Test
  public void testGetDescriptors() throws BioclipseException {

    // Matches plugin.xml, just test some classes

    // Get provider by ID
    DescriptorProvider provider = qsar.getProviderByID(cdkRestProviderID);
    assertNotNull(provider);

    List<String> descImplIDs = qsar.getDescriptorImplsByProvider(cdkRestProviderID);

    List<DescriptorImpl> descs = qsar.getFullDescriptorImpls(provider);

    // Check list of IDs and list of classes equal size
    assertEquals(descImplIDs.size(), descs.size());

    List<String> descIDs = new ArrayList<String>();
    for (DescriptorImpl impl : descs) {
      descIDs.add(impl.getDefinition());
    }

    assertTrue(descIDs.contains(xlogpID));
    assertTrue(descIDs.contains(bpolID));
  }