IsotopePattern { public double getCharge() { return chargI; } IsotopePattern(); void setMonoIsotope(IsotopeContainer isoContainer); void addIsotope(IsotopeContainer isoContainer); IsotopeContainer getMonoIsotope(); List<IsotopeContainer> getIsotopes(); IsotopeContainer getIsotope(int position); int getNumberOfIsotopes(); void setCharge(double charge); double getCharge(); @Override Object clone();  }
@Test public void testGetCharge() { IsotopePattern isoP = new IsotopePattern(); Assert.assertEquals(0, isoP.getCharge(), 0.000001); }