@Test
public void testDebugAtomContainer() {

    // create an empty container with in the constructor defined array lengths
    IAtomContainer container = new DebugAtomContainer();
    Assert.assertEquals(0, container.getAtomCount());
    Assert.assertEquals(0, container.getBondCount());
    // test whether the ElectronContainer is correctly initialized
    container.addBond(container.getBuilder().newInstance(IBond.class,
            container.getBuilder().newInstance(IAtom.class, "C"),
            container.getBuilder().newInstance(IAtom.class, "C"), IBond.Order.DOUBLE));
    container.addLonePair(container.getBuilder().newInstance(ILonePair.class,
            container.getBuilder().newInstance(IAtom.class, "N")));
}