Esempio n. 1
0
        public void TestTempData()
        {
            CustomController obj = new CustomController();
            var result           = obj.ReturnTempData(1) as ViewResult;

            Assert.AreEqual("Swaroop", result.TempData["name"]);
        }