public RegularFile createRegularFile() {
      if (reuseStrategy == ReuseStrategy.NEW_DISK) {
        disk = createDisk();
      }
      return RegularFile.create(0, fileTimeSource.now(), disk);
    }
Configuration for a set of test cases.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java