Пример #1
0
        public void CreateInvalidCommentRenturnNull()
        {
            // act
            var actual = controller.CreateComment(posts[0].Comments[1]) as PartialViewResult;

            // assert
            Assert.AreEqual("Details", actual.ViewName);
        }