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