@Deprecated
  @SuppressWarnings("deprecation")
  public void recordEviction() {
    // This method is scheduled for removal in version 3.0 in favor of recordEviction(weight)
    recordEviction(1);
  }
@Test
  public void eviction() {
    stats.recordEviction();
    assertThat(registry.histogram(PREFIX + ".evictions").getCount()).isEqualTo(1);
    assertThat(registry.counter(PREFIX + ".evictions-weight").getCount()).isEqualTo(1);
  }