// testcreateCompositeCurve()
ArrayList<Position> line1 = new ArrayList<Position>();
line1.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{50, 20})));
line1.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{30, 30})));
line1.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{20, 50})));
line1.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{20, 70})));
ArrayList<Position> line2 = new ArrayList<Position>();
line2.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{20, 70})));
line2.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{40, 80})));
line2.add(new PositionImpl(positionFactory.createDirectPosition(new double[]{70, 80})));