Пример #1
0
        public void ShellShallSingleCommandOneArgument()
        {
            var shell = new ShellCommand("cmd", "/S");

            Assert.AreEqual("SHELL [\"cmd\",\"/S\"]", shell.ToString());
        }
Пример #2
0
        public void ShellShallHaveCommandAndArgsSeparated()
        {
            var shell = new ShellCommand("cmd", "/S", "/C");

            Assert.AreEqual("SHELL [\"cmd\",\"/S\",\"/C\"]", shell.ToString());
        }