예제 #1
0
        public void BranchReadDetailsTest()
        {
            Branch branch = db.Branches.FirstOrDefault();

            Console.WriteLine(branch.ID);

            var result = controller.Details(branch.ID) as ViewResult;

            Console.WriteLine(result.ViewName);

            Assert.That(result.ViewName == "Details");
        }