@Test public void bond() throws Exception {

    assertThat(new Edge(2, 3, Bond.SINGLE).bond(), is(Bond.SINGLE));
    assertThat(new Edge(2, 3, Bond.UP).bond(), is(Bond.UP));
    assertThat(new Edge(2, 3, Bond.DOWN).bond(), is(Bond.DOWN));
}