@Test
public void testCreate() throws Exception {

    IAtomContainer m = new AtomContainer();
    m.addAtom(carbonAt(-0.2994, 3.2084));
    m.addAtom(carbonAt(-1.1244, 3.2084));
    m.addAtom(carbonAt(-1.9494, 3.2084));
    m.addAtom(carbonAt(-2.3619, 2.4939));
    m.addAtom(carbonAt(0.1131, 3.9228));
    m.addBond(new Bond(m.getAtom(0), m.getAtom(1), IBond.Order.DOUBLE));
    m.addBond(new Bond(m.getAtom(1), m.getAtom(2), IBond.Order.DOUBLE));
    m.addBond(new Bond(m.getAtom(2), m.getAtom(3)));
    m.addBond(new Bond(m.getAtom(0), m.getAtom(4)));
    StereoEncoderFactory factory = new GeometricCumulativeDoubleBondFactory();
    // graph not used
    StereoEncoder encoder = factory.create(m, null);
    assertThat(encoder, is(instanceOf(MultiStereoEncoder.class)));
}