@Test
public void anchorPoint() {

    AnchorPointBuilder b = new AnchorPointBuilder();
    AnchorPoint anchor = b.build();
    assertEquals(0.0, anchor.getAnchorPointX().evaluate(null, Double.class), 0.0);
    assertEquals(0.0, anchor.getAnchorPointY().evaluate(null, Double.class), 0.0);
    anchor = b.x(0.5).y(0.9).build();
    assertEquals(0.5, anchor.getAnchorPointX().evaluate(null, Double.class), 0.0);
    assertEquals(0.9, anchor.getAnchorPointY().evaluate(null, Double.class), 0.0);
}