@Test
public void testOutsideDefinitionArea() throws Exception {

    // setup a request that is outside of the coverage
    CoordinateReferenceSystem crs = CRS.decode("EPSG:3031", true);
    ReferencedEnvelope mapExtent = new ReferencedEnvelope(-1250000, 0, -13750000, -12500000,
            crs);
    // System.out.println(mapExtent.transform(DefaultGeographicCRS.WGS84, true));
    GridCoverageReaderHelper helper = new GridCoverageReaderHelper(reader, new Rectangle(400,
            200), mapExtent, Interpolation.getInstance(Interpolation.INTERP_NEAREST));
    // read, nothing should come out
    ProjectionHandler handler = ProjectionHandlerFinder.getHandler(mapExtent,
            reader.getCoordinateReferenceSystem(), true);
    List<GridCoverage2D> coverages = helper.readCoverages(null, handler);
    assertTrue(coverages.isEmpty());
}