@SuppressWarnings("unchecked")
@Test(expected = IllegalArgumentException.class)
public void tooManyAtoms() throws Exception {

    IBond b = new Bond(new IAtom[]{mock(IAtom.class), mock(IAtom.class), mock(IAtom.class)});
    new CDKToBeam().toBeamEdge(b, mock(Map.class));
}