public void TestMethod1()
        {
            var controller = new UnitTest1();
            var result     = TestMethod1(2) as ViewResult;

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