@Test
public void testReading() throws IOException {

    final File file = TestResourceHelper.getAatsrAlgo1AsFile();
    final Product product = reader.readProductNodes(file, null);
    assertNotNull(product);
    assertEquals(FileUtils.getFilenameWithoutExtension(file), product.getName());
    assertEquals(WorldFireReader.PRODUCT_TYPE_AATSR_ALGO1, product.getProductType());
    assertEquals(3600, product.getSceneRasterWidth());
    assertEquals(1800, product.getSceneRasterHeight());
    final GeoCoding geoCoding = product.getGeoCoding();
    assertEquals(new GeoPos(0, 0), geoCoding.getGeoPos(new PixelPos(3600 / 2, 1800 / 2), null));
    assertEquals(new GeoPos(90, -180), geoCoding.getGeoPos(new PixelPos(0, 0), null));
    assertEquals(new GeoPos(90, 180), geoCoding.getGeoPos(new PixelPos(3600, 0), null));
    assertEquals(new GeoPos(-90, 180), geoCoding.getGeoPos(new PixelPos(3600, 1800), null));
    assertEquals(new GeoPos(-90, -180), geoCoding.getGeoPos(new PixelPos(0, 1800), null));
    assertEquals(new PixelPos(3600 / 2, 1800 / 2), geoCoding.getPixelPos(new GeoPos(0, 0), null));
    assertEquals(new PixelPos(0, 0), geoCoding.getPixelPos(new GeoPos(90, -180), null));
    assertEquals(new PixelPos(3600, 0), geoCoding.getPixelPos(new GeoPos(90, 180), null));
    assertEquals(new PixelPos(3600, 1800), geoCoding.getPixelPos(new GeoPos(-90, 180), null));
    assertEquals(new PixelPos(0, 1800), geoCoding.getPixelPos(new GeoPos(-90, -180), null));
}