@Test
public void testElevation_Atom_Up() throws Exception {

    IAtom a1 = mock(IAtom.class);
    IAtom a2 = mock(IAtom.class);
    IBond bond = mock(IBond.class);
    when(bond.getStereo()).thenReturn(IBond.Stereo.UP);
    when(bond.getBegin()).thenReturn(a1);
    when(bond.getEnd()).thenReturn(a2);
    assertThat(GeometricCumulativeDoubleBondFactory.elevation(bond, a1), is(+1));
    assertThat(GeometricCumulativeDoubleBondFactory.elevation(bond, a2), is(-1));
}