SynL1CSceneTransformGeoCoding extends AbstractGeoCoding { @Override public boolean isCrossingMeridianAt180() { return wrappedGeoCoding.isCrossingMeridianAt180(); } SynL1CSceneTransformGeoCoding(GeoCoding wrappedGeoCoding, MathTransform2D sceneToModelTransform, MathTransform2D modelToSceneTransform); @Override boolean isCrossingMeridianAt180(); @Override boolean canGetPixelPos(); @Override boolean canGetGeoPos(); @Override PixelPos getPixelPos(GeoPos geoPos, PixelPos pixelPos); @Override GeoPos getGeoPos(PixelPos pixelPos, GeoPos geoPos); @Override Datum getDatum(); @Override void dispose(); @Override boolean transferGeoCoding(Scene srcScene, Scene destScene, ProductSubsetDef subsetDef); @Override boolean canClone(); @Override GeoCoding clone();  }
@Test public void testIsCrossingMeridianAt180() { when(wrappedCoding.isCrossingMeridianAt180()).thenReturn(true); assertTrue(coding.isCrossingMeridianAt180()); when(wrappedCoding.isCrossingMeridianAt180()).thenReturn(false); assertFalse(coding.isCrossingMeridianAt180()); }