@Test
@Override
public void testSingleBond() {

    IAtomContainer container = makeSingleBond();
    model.set(CompactAtom.class, true);
    model.set(CompactShape.class, Shape.OVAL);
    model.set(ShowEndCarbons.class, true);
    // generate the single line element
    IRenderingElement root = generator.generate(container, model);
    List<IRenderingElement> elements = elementUtil.getAllSimpleElements(root);
    Assert.assertEquals(2, elements.size());
    // test that the endpoints are distinct
    OvalElement ovalA = (OvalElement) elements.get(0);
    OvalElement ovalB = (OvalElement) elements.get(1);
    Assert.assertNotSame(0, distance(ovalA.xCoord, ovalA.yCoord, ovalB.xCoord, ovalB.yCoord));
}