Exemplo n.º 1
0
        public void TestMethod1()
        {
            var controller = new UnitTest1();
            var result     = TestMethod1(2) as ViewResult;

            Assert.AreEqual("Details", result.ViewName);
        }
Exemplo n.º 2
0
 public void TestMethod1()
 {
     var controller = new UnitTest1();
     var result = TestMethod1(2) as ViewResult;
     Assert.AreEqual("Details", result.ViewName);
 }