Exemplo n.º 1
0
        public void Error_Ok()
        {
            //Act
            var response = _blogController.Error();

            var error = response.GetModelFromViewResultResponse <ErrorViewModel>();

            //Assert
            Assert.True(response is ViewResult);
            Assert.NotNull(error);
        }