public void Download_Returns_ElmahResult_Test() { // Arrange ElmahController controller = new ElmahController(); // Act ElmahResult result = controller.Download() as ElmahResult; // Assert Assert.NotNull(result); }
public void ElmahController_Index_Returns_ElmahResult() { // Arrange var controller = new ElmahController(); // Act var actionResult = controller.Index("test"); // Assert Assert.IsType <ElmahResult>(actionResult); }
public void ElmahController_Index_Returns_ElmahResult() { // Arrange var controller = new ElmahController(); // Act var actionResult = controller.Index("test"); // Assert Assert.IsType<ElmahResult>(actionResult); }
public void Stylesheet_Returns_ElmahResult_Test() { // Arrange ElmahController controller = new ElmahController(); // Act ElmahResult result = controller.Stylesheet() as ElmahResult; // Assert Assert.NotNull(result); }