### Question:
LandPointRemover { public void removeSamples(List<SamplingPoint> samples) { final List<SamplingPoint> waterSamples = new ArrayList<>(samples.size()); final Watermask watermask = Container.WATERMASK; for (final SamplingPoint point : samples) { if (watermask.isWater(point.getLon(), point.getLat())) { waterSamples.add(point); } } samples.clear(); samples.addAll(waterSamples); }  void removeSamples(List<SamplingPoint> samples);  }### Answer:
@Test public void testRemove() throws Exception { final LandPointRemover remover = new LandPointRemover(); remover.removeSamples(samples); assertEquals(657, samples.size()); }