@Test
public void testWGS84LongIdTransform()
                        throws Exception {

    final double[] min = new double[] { 52.442229, 4.835947 };
    final double[] max = new double[] { 52.453817, 4.871100 };
    final AffineTransform worldToScreen = new AffineTransform();
    final Envelope bbox = geometryFactory.createEnvelope( min, max,
                                                          CRSManager.lookup( "urn:ogc:def:crs:EPSG::4326" ) );
    RenderHelper.getWorldToScreenTransform( worldToScreen, bbox, 42, 47 );
    final double[] transformedPoint = new double[2];
    worldToScreen.transform( min, 0, transformedPoint, 0, 1 );
    assertEquals( 0, transformedPoint[0], 0.1 );
    assertEquals( 47, transformedPoint[1], 0.1 );
    worldToScreen.transform( max, 0, transformedPoint, 0, 1 );
    assertEquals( 42, transformedPoint[0], 0.1 );
    assertEquals( 0, transformedPoint[1], 0.1 );
}