@Test
public void testGetIsotopes1() {

    IMolecularFormula molFor = new MolecularFormula();
    molFor.addIsotope(builder.newInstance(IIsotope.class, "Br"));
    molFor.addIsotope(builder.newInstance(IIsotope.class, "Br"));
    IsotopePatternGenerator isotopeGe = new IsotopePatternGenerator(.1);
    IsotopePattern isoPattern = isotopeGe.getIsotopes(molFor);
    Assert.assertEquals(3, isoPattern.getNumberOfIsotopes());
}