public void AddAddsArgumentWithPrefixAndDoubleQuotes()
 {
     var args = new SecureArguments("initial");
     args.Add("value1", "p=", true);
     var expected = "initial p=\"value1\"";
     var actual = args.ToString();
     Assert.AreEqual(expected, actual);
 }
 public void AddAddsArgumentWithPrefix()
 {
     var args = new SecureArguments("initial");
     args.Add("value1", "p=");
     var expected = "initial p=value1";
     var actual = args.ToString();
     Assert.AreEqual(expected, actual);
 }
 /// <summary>
 /// Initialises the process.
 /// </summary>
 /// <returns>
 /// The information for the process.
 /// </returns>
 private ProcessInfo InitialiseProcess()
 {
     var args = new SecureArguments();
     args.Add(this.ProjectFile);
     return new ProcessInfo(
         this.Executable ?? DefaultExecutable,
         args,
         Environment.CurrentDirectory);
 }