Example #1
0
        public void SaveFacet_Action_With_New_Facet_Inserts_And_Redirects_To_Action()
        {
            facetService.Insert(new Facet());

            var controller = new SetupController(facetService);
            var result     = controller.SaveFacet(new Facet());

            result.AssertActionRedirect();
        }