Esempio n. 1
0
        public async Task Error404_ShouldReturn_404View()
        {
            var result = await _controller.Error404();

            var viewResult = Assert.IsType <ViewResult>(result);

            Assert.Equal("404", viewResult.ViewName);
        }