コード例 #1
0
        public void Survey_HttpGet_ReturnsCorrectView()
        {
            SurveyController Controller = new SurveyController();
            ViewResult       result     = Controller.Survey() as ViewResult;

            Assert.IsNotNull(result);
            Assert.AreEqual("Survey", result.ViewName);
        }