Polymer extends AtomContainer implements java.io.Serializable, IPolymer { public Polymer() { super(); monomers = new HashMap<>(); } Polymer(); @Override void addAtom(IAtom oAtom, IMonomer oMonomer); @Override int getMonomerCount(); @Override IMonomer getMonomer(String cName); @Override Collection<String> getMonomerNames(); @Override void removeMonomer(String name); @Override String toString(); @Override IPolymer clone();  }
@Test public void testPolymer() { IPolymer polymer = new Polymer(); Assert.assertNotNull(polymer); Assert.assertTrue(polymer instanceof Polymer); }