RecordCacheStats extends AbstractCacheStats { @Override public long estimateCurrentWeight() { return weight.get(); } RecordCacheStats(
            @NotNull String name,
            @NotNull Supplier<CacheStats> stats,
            @NotNull Supplier<Long> elementCount,
            @NotNull Supplier<Long> weight); @Override long getElementCount(); @Override long getMaxTotalWeight(); @Override long estimateCurrentWeight();  }
@Test public void estimateCurrentWeight() { assertEquals(KEYS, cacheStats.estimateCurrentWeight()); }