Ejemplo n.º 1
0
 public void TestInaccessibleSubCommand()
 {
     CommandHandler.RunCommand(CurrentUser, "window");
     Assert.AreEqual("window contains these subcommands:", ConsoleReader.ReadLine());
     Assert.AreEqual("window resize <width> <height>", ConsoleReader.ReadLine());
     ConsoleReader.AssertEndOfOutput();
 }