Exemplo n.º 1
0
        public void ListingController_CloseOne_ShouldRedirectToIndexIfListingIsNull()
        {
            var result = _listingController.CloseOne(null);

            result.As <RedirectToRouteResult>().RouteValues["action"].Should().Be("Index");
        }