LaunchProcessWithDebuggerAttached() public method

public LaunchProcessWithDebuggerAttached ( string command, string workingDirectory, string param, string pathExtension ) : int
command string
workingDirectory string
param string
pathExtension string
return int
        public void LaunchProcessWithDebuggerAttached_WithParameters_PassedInfoToFrameworkHandleCorrectly()
        {
            DebuggedProcessLauncher launcher = new DebuggedProcessLauncher(MockFrameworkHandle.Object);

            launcher.LaunchProcessWithDebuggerAttached("theCommand", "theDir", "theParams", "C:\\test");

            MockFrameworkHandle.Verify(fh => fh.LaunchProcessWithDebuggerAttached(
                                           It.Is <string>(s => s == "theCommand"),
                                           It.Is <string>(s => s == "theDir"),
                                           It.Is <string>(s => s == "theParams"),
                                           It.Is <IDictionary <string, string> >(d => d.ContainsKey("PATH") && d["PATH"].StartsWith("C:\\test;"))
                                           ), Times.Exactly(1));
        }
        public void LaunchProcessWithDebuggerAttached_WithParameters_PassedInfoToFrameworkHandleCorrectly()
        {
            DebuggedProcessLauncher launcher = new DebuggedProcessLauncher(MockFrameworkHandle.Object);

            launcher.LaunchProcessWithDebuggerAttached("theCommand", "theDir", "theParams", @"C:\test");

            MockFrameworkHandle.Verify(fh => 
                fh.LaunchProcessWithDebuggerAttached(
                    It.Is<string>(s => s == "theCommand"),
                    It.Is<string>(s => s == "theDir"),
                    It.Is<string>(s => s == "theParams"),
                    It.Is<IDictionary<string, string>>(d => d.ContainsKey("PATH") && d["PATH"].StartsWith(@"C:\test;"))
                ), 
                Times.Exactly(1));
        }