@Test
public void testGetCIPChirality_DoubleBond_Opposite() throws Exception {

    IAtomContainer container = new SmilesParser(SilentChemObjectBuilder.getInstance()).parseSmiles("CCC(C)=C(C)CC");
    CIP_CHIRALITY label = CIPTool.getCIPChirality(
            container,
            new DoubleBondStereochemistry(container.getBond(container.getAtom(2), container.getAtom(4)),
                    new IBond[]{container.getBond(container.getAtom(2), container.getAtom(3)),
                            container.getBond(container.getAtom(4), container.getAtom(6))},
                    IDoubleBondStereochemistry.Conformation.OPPOSITE));
    assertThat(label, is(CIPTool.CIP_CHIRALITY.Z));
}