예제 #1
0
        public void Need_Help_MustShow_View()
        {
            var needHelpResponse = _helpController.NeedHelp("1");

            Assert.IsNotNull(needHelpResponse);
            Assert.IsInstanceOfType(needHelpResponse, typeof(ViewResult));
            AHP.Web.ViewModel.CustomerViewModel viewModel = ((ViewResult)needHelpResponse).Model as AHP.Web.ViewModel.CustomerViewModel;
            Assert.AreEqual(6, viewModel.SelectedIssueId);
        }