    @Test
    public void testScaling() throws Exception {

        SimpleFeatureType type = createShipTrackFeatureType();
        SimpleFeature feature = createFeature(type, 1, 53.1F, 13.2F,  0.5);

        sceneTransformProvider = new SceneTransformProvider() {
            @Override
            public MathTransform2D getModelToSceneTransform() {
                return MathTransform2D.IDENTITY;
            }

            @Override
            public MathTransform2D getSceneToModelTransform() {
                return MathTransform2D.IDENTITY;
            }
        };

        SimpleFeaturePointFigure figure = new SimpleFeaturePointFigure(feature, sceneTransformProvider, new DefaultFigureStyle());
        Coordinate coordinate = figure.getGeometry().getCoordinate();
        assertEquals(13.2F, coordinate.x, 1e-10);
        assertEquals(53.1F, coordinate.y, 1e-10);

        boolean closeTo = figure.isCloseTo(new Point2D.Double(13.2F, 53.1F), new AffineTransform());
        assertEquals(true, closeTo);

    }