@Test
public void phenylbenzene() throws Exception {

    Graph g = Parser.parse("c:1:c:c:c(c:c1)-c:2:c:c:c:c:c2");
    Assert.assertThat(Generator.generate(g),
                      CoreMatchers.is("c:1:c:c:c(c:c1)-c:2:c:c:c:c:c2"));
    Assert.assertThat(Generator.generate(f.apply(g)),
                      CoreMatchers.is("c1ccc(cc1)-c2ccccc2"));
}