public void WhenTheIndexActionIsExecuted_ThenItShouldReturnAViewResult()
 {
     _service.Setup(o => o.GetUmbrellas()).Returns(new List<UmbrellaSM>());
     var controller = new UmbrellaController(_service.Object);
     var results = controller.Index();
     Assert.That(results, Is.TypeOf(typeof(ViewResult)));
 }
 public void WhenTheEditActionIsExecuted_ThenItShouldReturnAViewResult()
 {
     _service.Setup(o => o.GetUmbrellaById(new int())).Returns(new UmbrellaSM());
     var controller = new UmbrellaController(_service.Object);
     var results = controller.Edit(new int());
     Assert.That(results, Is.TypeOf(typeof(ViewResult)));
 }