Ejemplo n.º 1
0
		public void Multiple_presenters_navigate_during_initialization()
		{
			var task = new TestTask3();
			task.Start(_viewDeck);
			Assert.AreEqual("Node2", task.CurrentNode.Name);
			var presenter2 = task.CurrentNode.Presenter as Presenter2;
			Assert.IsNotNull(presenter2);
			presenter2.NextCommand.Navigate();
			Assert.AreEqual("Node6", task.CurrentNode.Name);
		}
Ejemplo n.º 2
0
		public void Presenter_navigates_during_initialization()
		{
			var task = new TestTask3();
			task.Start(_viewDeck);
			Assert.AreEqual("Node2", task.CurrentNode.Name);
		}