BinnedProductReader extends AbstractProductReader { static boolean isSubSampled(int sourceStepX, int sourceStepY) { return sourceStepX != 1 || sourceStepY != 1; } BinnedProductReader(BinnedProductReaderPlugin readerPlugIn); @Override void close();  }
@Test public void testIsSubSampled() { assertTrue(BinnedProductReader.isSubSampled(2, 1)); assertTrue(BinnedProductReader.isSubSampled(1, 4)); assertFalse(BinnedProductReader.isSubSampled(1, 1)); }