@Test
public void testCoverageWithScaleFactor() throws MismatchedDimensionException,
        TransformException {

    // Execution of the RasterAsPointCollectionProcess setting hemisphere and scaleFactor
    boolean hemisphere = true;
    float scaleFactor = 2.0f;
    SimpleFeatureCollection collection = process.execute(coverage, null, scaleFactor, null,
            hemisphere);
    // Check if the points are exactly as the number of pixel number
    Assert.assertEquals((int) (pixelNumber * scaleFactor * scaleFactor), collection.size());
    // Check if each Point Attribute contains the same values of the Input coverage
    checkCollectionPoints(collection, hemisphere, scaleFactor, null);
}