MedianAggregatorStrategy extends AbstractAggregatorStrategy { @Override public String[] getSuffixes() { return new String[]{"median", NUM_PIXELS_SUFFIX}; }  @Override Number[] getValues(Record record, int rasterIndex); @Override String[] getSuffixes();  }
@Test public void testGetSuffixes() throws Exception { assertEquals(2, strategy.getSuffixes().length); assertEquals("median", strategy.getSuffixes()[0]); assertEquals(AbstractAggregatorStrategy.NUM_PIXELS_SUFFIX, strategy.getSuffixes()[1]); }