Esempio n. 1
0
        public void ReturnView_WhenCalled()
        {
            // Arrange
            var controller = new ErrorController();

            // Act
            var result = controller.AccessDenied() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }