### Question:
MultiSourceElevationProvider implements ElevationProvider { @Override public double getEle(double lat, double lon) { if (lat < 59.999 && lat > -56) { return srtmProvider.getEle(lat, lon); } return globalProvider.getEle(lat, lon); } MultiSourceElevationProvider(ElevationProvider srtmProvider, ElevationProvider globalProvider);  MultiSourceElevationProvider();  MultiSourceElevationProvider(String cacheDir); @Override double getEle(double lat, double lon); @Override ElevationProvider setBaseURL(String baseURL); @Override ElevationProvider setDAType(DAType daType); @Override void setCalcMean(boolean calcMean); @Override void release(); @Override void setAutoRemoveTemporaryFiles(boolean autoRemoveTemporary); @Override String toString();  }### Answer:
@Test public void testGetEleMocked() { instance = new MultiSourceElevationProvider( new CGIARProvider() { @Override public double getEle(double lat, double lon) { return 1; } }, new GMTEDProvider() { @Override public double getEle(double lat, double lon) { return 2; } } ); assertEquals(1, instance.getEle(0, 0), .1); assertEquals(2, instance.getEle(60.0001, 0), .1); assertEquals(2, instance.getEle(-56.0001, 0), .1); }