DebugBond extends Bond implements IBond { public DebugBond() { super(); } DebugBond();  DebugBond(IAtom atom1, IAtom atom2);  DebugBond(IAtom atom1, IAtom atom2, IBond.Order order);  DebugBond(IAtom atom1, IAtom atom2, IBond.Order order, IBond.Stereo stereo);  DebugBond(IAtom[] atoms);  DebugBond(IAtom[] atoms, IBond.Order order); @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 IBond clone(); @Override IChemObjectBuilder getBuilder(); @Override Iterable<IAtom> atoms(); @Override void setAtoms(IAtom[] atoms); @Override int getAtomCount(); @Override IAtom getAtom(int position); IAtom getBegin(); IAtom getEnd(); @Override IAtom getOther(IAtom atom); @Override boolean contains(IAtom atom); @Override void setAtom(IAtom atom, int position); @Override Order getOrder(); @Override void setOrder(Order order); @Override IBond.Stereo getStereo(); @Override void setStereo(IBond.Stereo stereo); @Override Point2d get2DCenter(); @Override Point3d get3DCenter(); @Override boolean compare(Object object); @Override boolean isConnectedTo(IBond bond);  }
@Test public void testDebugBond() { IBond bond = new DebugBond(); Assert.assertEquals(0, bond.getAtomCount()); Assert.assertNull(bond.getBegin()); Assert.assertNull(bond.getEnd()); Assert.assertNull(bond.getOrder()); Assert.assertEquals(IBond.Stereo.NONE, bond.getStereo()); }