public void PrefixCommonScriptRuntimes_WhenGivenKnownScript_PrefixesKnownInterpreter(string extension, string interpreterExpected) { _runner = new CommandLineRunner(_log.Object, _config.Object, _fs.Object, _output); var script = "script." + extension; var startInfo = new ProcessStartInfo { FileName = script }; _runner.PrefixCommonScriptRuntimes(script, startInfo); Assert.That(startInfo.FileName, Is.EqualTo(interpreterExpected + " " + script)); }