SingleElectron extends ElectronContainer implements Serializable, ISingleElectron, Cloneable { public SingleElectron(IAtom atom) { this.atom = atom; } SingleElectron(IAtom atom);  SingleElectron(); @Override Integer getElectronCount(); @Override IAtom getAtom(); @Override void setAtom(IAtom atom); @Override boolean contains(IAtom atom); @Override String toString(); @Override Object clone();  }
@Test public void testSingleElectron() { ISingleElectron radical = new SingleElectron(); Assert.assertNull(radical.getAtom()); Assert.assertEquals(1, radical.getElectronCount().intValue()); }