public void Batch_WithValidParameters_RunsJavaProcess()
        {
            var generator = new OpenApiGenerator(fileSystem, environment, runner, tools, mavenClient);

            generator.Batch("csharp-server.yaml", "javascript-client.yaml");

            A.CallTo(() => runner.Start(javaExecutable, A <ProcessSettings> ._)).MustHaveHappenedOnceExactly();
        }
        public void Batch_WithValidSettings_RunsJavaProcess()
        {
            var generator = new OpenApiGenerator(fileSystem, environment, runner, tools, mavenClient);

            generator.Batch(new OpenApiGeneratorBatchSettings()
            {
                ConfigurationFiles = new FilePathCollection(new FilePath[] { "csharp-server.yaml", "javascript-client.yaml" })
            });

            A.CallTo(() => runner.Start(javaExecutable, A <ProcessSettings> ._)).MustHaveHappenedOnceExactly();
        }
        public void Batch_WithValidConfigurator_RunsJavaProcess()
        {
            var generator = new OpenApiGenerator(fileSystem, environment, runner, tools, mavenClient);

            generator.Batch(settings =>
            {
                settings.ConfigurationFiles.Add("csharp-server.yaml");
            });

            A.CallTo(() => runner.Start(javaExecutable, A <ProcessSettings> ._)).MustHaveHappenedOnceExactly();
        }