public void setFilePaths(String... filePaths) {
        Path[] paths = new Path[filePaths.length];
        for (int i = 0; i < paths.length; i++) {
            paths[i] = new Path(filePaths[i]);
        }
        setFilePaths(paths);
    }
@Test
    void testMultiPathSetOnSinglePathIF2() {
        final DummyFileInputFormat format = new DummyFileInputFormat();
        final String myPath = "/an/imaginary/path";
        final String myPath2 = "/an/imaginary/path2";

        // format.setFilePaths(new Path(myPath), new Path(myPath2));
        assertThatThrownBy(() -> format.setFilePaths(new Path(myPath), new Path(myPath2)))
                .isInstanceOf(UnsupportedOperationException.class);
    }