@Test
  public void testRemoveTail() throws Exception {
    evictionList.destroyEntry(nodes.get(9));
    IntStream.range(0, 9).forEach(i -> {
      LRUTestEntry entry = (LRUTestEntry) evictionList.getEvictableEntry();
      assertThat(entry.id()).as("all but first node should remain").isEqualTo(i);
    });

    assertThat(evictionList.getEvictableEntry()).as("check list is now empty").isNull();
  }
This class tests the LRUCapacityController's core clock algorithm.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/eviction/LRUListWithAsyncSortingIntegrationTest.java