@Test(expected = ProcessException.class)
public void testAreaGridParameters() throws Exception {

    logger.info("AREAGRIDPROCESS: Performing parameter test");
    AreaGridProcess process = new AreaGridProcess();
    CoordinateReferenceSystem crs = org.geotools.referencing.crs.DefaultGeographicCRS.WGS84;
    ReferencedEnvelope envelope = new ReferencedEnvelope(-180, 180, -90, 90, crs);
    process.execute(envelope, -2, 10);
}