@Test public void dontMarkTerminalBonds() {

    IAtomContainer m = new AtomContainer();
    m.addAtom(atom("C", 3, 0.000, 0.000));
    m.addAtom(atom("C", 0, 1.299, -0.750));
    m.addAtom(atom("C", 2, 2.598, -0.000));
    m.addAtom(atom("C", 3, 3.897, -0.750));
    m.addAtom(atom("O", 0, 1.299, -2.250));
    m.addBond(0, 1, IBond.Order.SINGLE);
    m.addBond(1, 2, IBond.Order.SINGLE);
    m.addBond(2, 3, IBond.Order.SINGLE);
    m.addBond(1, 4, IBond.Order.DOUBLE);
    NonplanarBonds.assign(m);
    assertThat(m.getBond(0).getStereo(), is(IBond.Stereo.NONE));
    assertThat(m.getBond(1).getStereo(), is(IBond.Stereo.NONE));
    assertThat(m.getBond(2).getStereo(), is(IBond.Stereo.NONE));
}