Beispiel #1
0
        public void UserMVC_Index_Returns_ViewResult()
        {
            // Arrange
            var controller = new UserMVCController();

            // Act
            var result = controller.Details("x09783") as ViewResult;

            // Assert
            //Assert.IsNotNull(result.ViewName);
            Assert.AreEqual("Details", result.ViewName);
        }
Beispiel #2
0
        public void UserMVC_Index_Returns_ViewResult()
        {
            // Arrange
            var controller = new UserMVCController();

            // Act
            var result = controller.Details("x09783") as ViewResult;

            // Assert
            //Assert.IsNotNull(result.ViewName);
            Assert.AreEqual("Details", result.ViewName);
        }