IsotopeContainer { public double getMass() { return masOs; } IsotopeContainer();  IsotopeContainer(IMolecularFormula formula, double intensity);  IsotopeContainer(double mass, double intensity);  IsotopeContainer(IsotopeContainer container); void setFormula(IMolecularFormula formula); void addFormula(IMolecularFormula formula); void setMass(double mass); void setIntensity(double intensity); IMolecularFormula getFormula(); List<IMolecularFormula> getFormulas(); double getMass(); double getIntensity(); @Override Object clone(); @Override String toString();  }
@Test public void testGetMass() { IsotopeContainer isoC = new IsotopeContainer(); double mass = 130.00; isoC.setMass(mass); Assert.assertEquals(mass, isoC.getMass(), 0.001); }