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