public void DeletePhaseCommand()
 {
     var missionViewModel = new MissionViewModel();
     missionViewModel.CurrentMission.AddPhase("temp");
     missionViewModel.CurrentMission.AddPhase("temp");
     missionViewModel.DeletePhaseCommand.Execute(true);
     Assert.AreEqual(1, missionViewModel.PhaseCount);
 }
 public void BackPhaseCommand()
 {
     var missionViewModel = new MissionViewModel();
     missionViewModel.CurrentMission.AddPhase("temp");
     missionViewModel.CurrentMission.AddPhase("temp");
     missionViewModel.PhaseBackCommand.Execute(null);
     missionViewModel.PhaseBackCommand.Execute(null);
     Assert.AreEqual(0, missionViewModel.CurrentPhaseIndex);
 }
 public void MissionVM()
 {
     var missionViewModel = new MissionViewModel();
     Assert.AreEqual(0, missionViewModel.PhaseCount);
     //Assert.AreEqual(0, missionViewModel.CurrentMission.MilitaryMessages.Count);
     Assert.AreEqual(0, missionViewModel.CurrentMission.PhaseList.Count);
     Assert.AreEqual(0, missionViewModel.CurrentPhaseIndex);
 }
 public void AddPhase()
 {
     var missionViewModel = new MissionViewModel();
     missionViewModel.CurrentMission.AddPhase("temp");
     Assert.AreEqual(1, missionViewModel.PhaseCount);
 }