@Test
/**
 * Put enough items in the cache to invoke throttle condition.
 */
public void testThrottleCondition() {

  final ProjectCacheCleaner cleaner = new ProjectCacheCleaner(this.cacheDir, 0.65, 0.7);
  cleaner.deleteProjectDirsIfNecessary(3000000);
  assertThat(this.cacheDir.list()).hasSize(1);
  assertThat(this.cacheDir.list()).contains("3.1");
}