@Override
    public void applyToConfiguration(Configuration configuration) {
        super.applyToConfiguration(configuration);
        merge(configuration, pythonConfiguration);
    }
@Test
    void testCreateProgramOptionsWithLongOptions() throws CliArgsException {
        String[] args = {
            "--python",
            "xxx.py",
            "--pyModule",
            "xxx",
            "--pyFiles",
            "/absolute/a.py,relative/b.py,relative/c.py",
            "--pyRequirements",
            "d.txt#e_dir",
            "--pyExecutable",
            "/usr/bin/python",
            "--pyArchives",
            "g.zip,h.zip#data,h.zip#data2",
            "--pyPythonPath",
            "bin/python/lib/:bin/python/lib64",
            "userarg1",
            "userarg2"
        };
        CommandLine line = CliFrontendParser.parse(options, args, false);
        PythonProgramOptions programOptions = (PythonProgramOptions) ProgramOptions.create(line);
        Configuration config = new Configuration();
        programOptions.applyToConfiguration(config);
        assertThat(config.get(PythonOptions.PYTHON_FILES))
                .isEqualTo("/absolute/a.py,relative/b.py,relative/c.py");
        assertThat(config.get(PYTHON_REQUIREMENTS)).isEqualTo("d.txt#e_dir");
        assertThat(config.get(PythonOptions.PYTHON_ARCHIVES))
                .isEqualTo("g.zip,h.zip#data,h.zip#data2");
        assertThat(config.get(PYTHON_EXECUTABLE)).isEqualTo("/usr/bin/python");
        assertThat(config.get(PythonOptions.PYTHON_PATH))
                .isEqualTo("bin/python/lib/:bin/python/lib64");
        assertThat(programOptions.getProgramArgs())
                .containsExactly("--python", "xxx.py", "--pyModule", "xxx", "userarg1", "userarg2");
    }