DebugSingleElectron extends SingleElectron implements ISingleElectron { public DebugSingleElectron() { super(); } DebugSingleElectron();  DebugSingleElectron(IAtom atom); @Override Integer getElectronCount(); @Override void setElectronCount(Integer electronCount); @Override void addListener(IChemObjectListener col); @Override int getListenerCount(); @Override void removeListener(IChemObjectListener col); @Override void notifyChanged(); @Override void notifyChanged(IChemObjectChangeEvent evt); @Override void setProperty(Object description, Object property); @Override void removeProperty(Object description); @Override T getProperty(Object description); @Override Map<Object, Object> getProperties(); @Override String getID(); @Override void setID(String identifier); @Override void setFlag(int flagType, boolean flagValue); @Override boolean getFlag(int flagType); @Override void addProperties(Map<Object, Object> properties); @Override void setFlags(boolean[] flagsNew); @Override boolean[] getFlags(); @Override Object clone(); @Override IChemObjectBuilder getBuilder(); @Override IAtom getAtom(); @Override void setAtom(IAtom atom); @Override boolean contains(IAtom atom);  }
@Test public void testDebugSingleElectron() { ISingleElectron radical = new DebugSingleElectron(); Assert.assertNull(radical.getAtom()); Assert.assertEquals(1, radical.getElectronCount().intValue()); }