protected long weightedSize() {
    throw new UnsupportedOperationException();
  }
@Test(dataProvider = "caches")
  @CacheSpec(maximumSize = Maximum.FULL, weigher = CacheWeigher.TEN)
  public void weightedSize_maintenance(BoundedLocalCache<Int, Int> cache,
      CacheContext context, Eviction<Int, Int> eviction) {
    cache.drainStatus = REQUIRED;
    var weight = eviction.weightedSize();

    assertThat(weight).isPresent();
    assertThat(cache.drainStatus).isEqualTo(IDLE);
  }