예제 #1
0
        public void EditViewNull()
        {
            //Act
            HttpStatusCodeResult p = controller.Edit(0) as HttpStatusCodeResult;

            //Assert
            Assert.AreEqual(404, p.StatusCode);
        }