示例#1
0
 public void ExitFromProgramTest()
 {
     ObjectMother.Reset();
     ObjectMother.CommandFactory.GetCommand("Выход").Do("Выход");
     Assert.That(ObjectMother.Loop.KeyIsAwaited);
 }
示例#2
0
 public void UnknownCommandTest()
 {
     ObjectMother.Reset();
     ObjectMother.CommandFactory.GetCommand("fhfjh48494").Do("fhfjh48494");
     Assert.That(ObjectMother.Loop.Lines.Any());
 }