Beispiel #1
0
 public void CanFixBuildIfBuildIsBroken()
 {
     mockProjectMonitor.ExpectAndReturn("ProjectState", ProjectState.Broken);
     controller.SelectedProject = projectMonitor;
     Assert.IsTrue(controller.CanFixBuild());
     mockProjectMonitor.Verify();
 }
Beispiel #2
0
 public void CanFixBuildIfBuildIsBroken()
 {
     mockProjectMonitor.SetupGet(_monitor => _monitor.ProjectState).Returns(ProjectState.Broken).Verifiable();
     controller.SelectedProject = projectMonitor;
     Assert.IsTrue(controller.CanFixBuild());
     mockProjectMonitor.Verify();
 }