IsotopePattern { public void addIsotope(IsotopeContainer isoContainer) { isotopeCList.add(isoContainer); } 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 testAddIsotope_IsotopeContainer() { IsotopePattern isoP = new IsotopePattern(); isoP.addIsotope(new IsotopeContainer()); Assert.assertNotNull(isoP); }