AbstractEvictionList implements EvictionList { @Override public void closeStats() { getStatistics().close(); } 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 closeStats() throws Exception { TestEvictionList evictionList = new TestEvictionList(controller); evictionList.closeStats(); verify(stats).close(); }