@Test
public void hasCoordinatesTest() {

    IAtom atomWithCoordinates = super.builder.newInstance(IAtom.class);
    atomWithCoordinates.setPoint2d(new Point2d(0, 0));
    Assert.assertTrue(generator.hasCoordinates(atomWithCoordinates));
    IAtom atomWithoutCoordinates = super.builder.newInstance(IAtom.class);
    atomWithoutCoordinates.setPoint2d(null);
    Assert.assertFalse(generator.hasCoordinates(atomWithoutCoordinates));
    IAtom nullAtom = null;
    Assert.assertFalse(generator.hasCoordinates(nullAtom));
}