public void Should_Return_User_Command() { IParse commandParser = new CommandParser(); var command = commandParser.Parse(TheLastLine); Assert.That("dir", Is.EqualTo(command.UserCommand)); }
public void Should_Return_Screen_Text() { IParse commandParser = new CommandParser(); var command = commandParser.Parse(TheLastLine); Assert.That(@"C:\User\sandrwe.chaa\Documents\Projects\Console+>", Is.EqualTo(command.ScreenText)); }