private List<File> listFiles(final File dir) {
    List<File> files = ArrayUtils.asList(dir.listFiles());
    files.remove(dirOfDeletedFiles);
    return files;
  }
Validates number of files under this.dir while ignoring this.dirOfDeletedFiles.
geode-core/src/integrationTest/java/org/apache/geode/internal/statistics/DiskSpaceLimitIntegrationTest.java