@Override
    public Collection<FileSourceSplit> enumerateSplits(Path[] paths, int minDesiredSplits)
            throws IOException {
        final ArrayList<FileSourceSplit> splits = new ArrayList<>();

        for (Path path : paths) {
            final FileSystem fs = path.getFileSystem();
            final FileStatus status = fs.getFileStatus(path);
            addSplitsForPath(status, fs, splits);
        }

        return splits;
    }
@Test
    void testFilesWithNoBlockInfo() throws Exception {
        final Path testPath = new Path("testfs:///dir/file1");
        testFs =
                TestingFileSystem.createForFileStatus(
                        "testfs",
                        TestingFileSystem.TestFileStatus.forFileWithBlocks(testPath, 12345L));
        testFs.register();

        final NonSplittingRecursiveEnumerator enumerator = createEnumerator();
        final Collection<FileSourceSplit> splits =
                enumerator.enumerateSplits(new Path[] {new Path("testfs:///dir")}, 0);

        assertThat(splits).hasSize(1);
        assertSplitsEqual(
                new FileSourceSplit("ignoredId", testPath, 0L, 12345L, 0, 12345L),
                splits.iterator().next());
    }