public Path[] getFilePaths() {

        if (supportsMultiPaths()) {
            if (this.filePaths == null) {
                return new Path[0];
            }
            return this.filePaths;
        } else {
            if (this.filePath == null) {
                return new Path[0];
            }
            return new Path[] {filePath};
        }
    }
@Test
    void testGetPathsWithoutSettingFirst() {
        final DummyFileInputFormat format = new DummyFileInputFormat();

        Path[] paths = format.getFilePaths();
        assertThat(paths).as("Paths should not be null.").isNotNull();
        assertThat(paths).as("Paths should be empty.").isEmpty();
    }