public void ___testGetAllFonts() {
    NRC_HTMLDocumentByCobra doc = null;
    try {
      doc = new NRC_HTMLDocumentByCobra("http://localhost/tests/testfonts2.html");
      Object[] fonts = doc.getAllFonts();
      doc.close();
      assertTrue(
          "Le nombre de polices retourné pour testfonts2.html n'est pas correct",
          fonts.length == 0);

      doc = new NRC_HTMLDocumentByCobra("http://localhost/tests/testfonts.html");
      fonts = doc.getAllFonts();
      doc.close();
      assertTrue(
          "Le nombre de polices retourné pour testfonts.html ("
              + fonts.length
              + ") n'est pas correct",
          fonts.length == 9);

    } catch (Exception e) {
      e.printStackTrace();
      if (doc != null) doc.close();
      fail();
    }
  }