StorageCleaner { @VisibleForTesting boolean isCleanupPermitted() { return this.maxArtifactsPerProject > 0; } @Inject  StorageCleaner(final Props props, final Storage storage,
      final DatabaseOperator databaseOperator); void cleanupProjectArtifacts(final int projectId, final List<Integer> versionsToExclude);  }
@Test public void testNoCleanupCase1() throws Exception { final StorageCleaner storageCleaner = new StorageCleaner(new Props(), this.storage, this.databaseOperator); assertFalse(storageCleaner.isCleanupPermitted()); }