IsotopePattern { public IsotopeContainer getMonoIsotope() { return isotopeCList.get(monoIsotopePosition); } 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 testGetMonoIsotope() { IsotopePattern isoP = new IsotopePattern(); IsotopeContainer isoC = new IsotopeContainer(); isoP.setMonoIsotope(isoC); Assert.assertEquals(isoC, isoP.getMonoIsotope()); }