}
@Test
public void testStatistics() {
Future<Stats> future = asyncMemcache.getStatistics();
Stats stats = waitOnFuture(future);
assertNotNull("Stats should never be null.", stats);
// Only verify that all stats are non-negative.
assertTrue(stats.getBytesReturnedForHits() > -1L);
assertTrue(stats.getHitCount() > -1L);
assertTrue(stats.getItemCount() > -1L);
assertTrue(stats.getMaxTimeWithoutAccess() > -1);
assertTrue(stats.getMissCount() > -1L);
assertTrue(stats.getTotalItemBytes() > -1L);
}