@Test
public void testDefineLigancyFourChirality() {

    LigancyFourChirality chirality = CIPTool.defineLigancyFourChirality(molecule, 1, 0, 2, 3, 4,
            Stereo.ANTI_CLOCKWISE);
    Assert.assertEquals(molecule.getAtom(1), chirality.getChiralAtom());
    Assert.assertEquals(Stereo.ANTI_CLOCKWISE, chirality.getStereo());
    ILigand[] ligands = chirality.getLigands();
    Assert.assertEquals(molecule, ligands[0].getAtomContainer());
    Assert.assertEquals(molecule.getAtom(0), ligands[0].getLigandAtom());
    Assert.assertEquals(molecule.getAtom(1), ligands[0].getCentralAtom());
    Assert.assertEquals(molecule, ligands[1].getAtomContainer());
    Assert.assertEquals(molecule.getAtom(2), ligands[1].getLigandAtom());
    Assert.assertEquals(molecule.getAtom(1), ligands[1].getCentralAtom());
    Assert.assertEquals(molecule, ligands[2].getAtomContainer());
    Assert.assertEquals(molecule.getAtom(3), ligands[2].getLigandAtom());
    Assert.assertEquals(molecule.getAtom(1), ligands[2].getCentralAtom());
    Assert.assertEquals(molecule, ligands[3].getAtomContainer());
    Assert.assertEquals(molecule.getAtom(4), ligands[3].getLigandAtom());
    Assert.assertEquals(molecule.getAtom(1), ligands[3].getCentralAtom());
}