public void BeAbleToRunMethodByAlias()
 {
     using (new Testing(true))
     {
     var runner = new CommandRunner();
     Assert.IsTrue(runner.RunOptionWithArguments("set.setting", "\"test setting\""));
     }
 }
 public void ReturnsSuccesWhenCompleted()
 {
     using (new Testing(true))
     {
         var runner = new CommandRunner();
         var result =
             runner.GetCommandResult("set.setting testsetting \"this is a test setting\" get.setting testsetting");
         Assert.IsTrue(result.Contains("success"));
     }
 }
 private static string GetSecret(CommandRunner runner)
 {
     var secret = "\"" + runner.GetCommandResult("get.secret") + "\"";
     secret = secret.Replace("success: ", "").Replace("\n", "").Replace("\r", "");
     return secret;
 }