AbstractEvictionList implements EvictionList { @Override public EvictionCounters getStatistics() { return this.controller.getCounters(); } protected  AbstractEvictionList(EvictionController controller); @Override int size(); @Override void closeStats(); @Override EvictionCounters getStatistics(); @Override void clear(RegionVersionVector regionVersionVector, BucketRegion bucketRegion); @Override synchronized void appendEntry(final EvictionNode evictionNode); @Override synchronized void destroyEntry(EvictionNode evictionNode);  }
@Test public void getStatisticsReturnsRightObject() throws Exception { TestEvictionList evictionList = new TestEvictionList(controller); assertThat(evictionList.getStatistics()).isSameAs(stats); }