long evictPercent = 20;
conf.setLong(LookasideCache.CACHESIZE, maxSize);
conf.setLong(LookasideCache.CACHEEVICT_PERCENT, evictPercent);
LookasideCache cache = new LookasideCache(conf);
LocalMetrics metrics = LookasideCache.getLocalMetrics();
metrics.reset();
assertTrue(cache.getCacheMaxSize() == maxSize);
assertTrue(cache.getCacheSize() == 0);
assertTrue(cache.getCacheEvictPercent() == evictPercent);