@Test
public void testTransferGeoCoding() throws URISyntaxException, IOException {

    Product product = ProductIO.readProduct(new File(getClass().getResource("bowtiepixelgeocoding_test_product.L2_sub").toURI()));
    assertTrue(product.getSceneGeoCoding() instanceof BowtiePixelGeoCoding);
    Product targetProduct = new Product("name", "type", product.getSceneRasterWidth(), product.getSceneRasterHeight());
    assertNull(targetProduct.getSceneGeoCoding());
    ProductUtils.copyGeoCoding(product, targetProduct);
    assertNotNull(targetProduct.getSceneGeoCoding());
    assertTrue(targetProduct.getSceneGeoCoding() instanceof BowtiePixelGeoCoding);
}