private string ExecuteCommand(IReplCommand cmd, string args) { _window.ClearScreen(); var execute = cmd.Execute(_window, args); execute.Wait(); Assert.IsTrue(execute.Result.IsSuccessful); return(_window.Output.TrimEnd()); }
private string ExecuteCommand(IReplCommand cmd, string args) { _window.ClearScreen(); var execute = cmd.Execute(_window, args); execute.Wait(); Assert.IsTrue(execute.Result.IsSuccessful); return _window.Output.TrimEnd(); }