Esempio n. 1
0
        public void ListFacets_Action_Returns_View_With_A_ViewModel()
        {
            facetService.All().Returns(new List <Facet>());

            var controller = new SetupController(facetService);
            var result     = controller.ListFacets();

            result.AssertViewRendered().WithViewData <FacetListViewModel>();
        }