public void Http404Test() { ErrorsController controller = new ErrorsController(); ViewResult result = controller.Http404() as ViewResult; Assert.IsNotNull(result); Assert.IsTrue(result.ViewName.Equals("404")); }
public void Http404Test() { ErrorsController controller = new ErrorsController(); ViewResult result = controller.Http404() as ViewResult; Assert.IsNotNull(result); Assert.IsTrue(result.ViewName.Equals("404")); }