@Test
public void hydrogenCountDodgesElement() {

    AtomSymbol symbol = atomGenerator.generatePeriodicSymbol(7, 2, -1, 0, 0, HydrogenPosition.Left, null);
    List<Shape> outlines = symbol.getOutlines();
    assertThat(outlines.size(), is(3));
    Shape elementShape = outlines.get(0);
    Shape hydrogenShape = outlines.get(1);
    Shape hydrogenCountShape = outlines.get(2);
    assertThat(hydrogenCountShape.getBounds2D().getMaxX(), lessThan(elementShape.getBounds2D().getMinX()));
    assertThat(hydrogenShape.getBounds2D().getMaxX(), lessThan(hydrogenCountShape.getBounds2D().getMinX()));
}