public void InternalServerError() { var controller = new ErrorController(); // Act var result = controller.InternalServerError() as ViewResult; // Assert Assert.IsNotNull(result); }
public void NotFound() { var controller = new ErrorController(); // Act var result = controller.NotFound() as ViewResult; // Assert Assert.IsNotNull(result); }
public void BadRequest() { var controller = new ErrorController(); // Act var result = controller.BadRequest() as ViewResult; // Assert Assert.IsNotNull(result); }