public void StartInfoAsString_ReturnsStringWithValues()
        {
            var psi = new ProcessStartInfo
            {
                WorkingDirectory = @"C:\Program Files (x86)\Notepad++",
                FileName = "notepad.exe",
                Arguments = @"C:\temp\1.bat"
            };

            var proc = new Process {StartInfo = psi};

            proc.StartInfoAsString()
                .ShouldEqual(
                    "File name: notepad.exe\nArguments: C:\\temp\\1.bat\nWorking directory: C:\\Program Files (x86)\\Notepad++");
        }
        public void StartInfoAsString_ReturnsStringWithEmptyValues()
        {
            var proc = new Process();

            proc.StartInfoAsString().ShouldEqual("File name: \nArguments: \nWorking directory: ");
        }