@Test
  public void getEvictableEntryReturnsRecentlyUsedNodeAfterSearchMaxEntriesExceeded()
      throws Exception {
    IntStream.range(10, 16).forEach(i -> {
      EvictionNode node = new LRUTestEntry(i);
      nodes.add(node);
      evictionList.appendEntry(node);
    });

    IntStream.range(0, 16).forEach(i -> nodes.get(i).setRecentlyUsed(region));
    assertThat(evictionList.getEvictableEntry()).isSameAs(nodes.get(15));
  }
This class tests the LRUCapacityController's core clock algorithm.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/eviction/LRUListWithSyncSortingIntegrationTest.java