@Test
public void testGetHTML_IMolecularFormula() {

    MolecularFormula formula = new MolecularFormula();
    formula.addIsotope(builder.newInstance(IIsotope.class, "C"), 8);
    formula.addIsotope(builder.newInstance(IIsotope.class, "H"), 10);
    formula.addIsotope(builder.newInstance(IIsotope.class, "Cl"), 2);
    formula.addIsotope(builder.newInstance(IIsotope.class, "O"), 2);
    Assert.assertEquals("C<sub>8</sub>H<sub>10</sub>Cl<sub>2</sub>O<sub>2</sub>",
            MolecularFormulaManipulator.getHTML(formula));
}