@Test
public void label() throws Exception {

    IAtomContainer container = new SmilesParser(SilentChemObjectBuilder.getInstance())
            .parseSmiles("C/C=C/[C@@H](C)C(/C)=C(/C)C[C@H](C)O");
    CIPTool.label(container);
    assertThat(container.getAtom(3).getProperty(CDKConstants.CIP_DESCRIPTOR, String.class), CoreMatchers.is("R"));
    assertThat(container.getAtom(10).getProperty(CDKConstants.CIP_DESCRIPTOR, String.class), CoreMatchers.is("S"));
    assertThat(
            container.getBond(container.getAtom(1), container.getAtom(2)).getProperty(CDKConstants.CIP_DESCRIPTOR,
                    String.class), CoreMatchers.is("E"));
    assertThat(
            container.getBond(container.getAtom(5), container.getAtom(7)).getProperty(CDKConstants.CIP_DESCRIPTOR,
                    String.class), CoreMatchers.is("Z"));
}