public void should_close_view_and_window() { var likeRoute = new LikeRouteSignature("close", "window") .WithParameter(KnownParameters.View); RouteLog.ShouldContainRoute(likeRoute) .With<RequestView>("View"); }
public void should_show_request_view_in_window() { var likeRoute = new LikeRouteSignature("show", "window") .WithParameter("View"); RouteLog.ShouldContainRoute(likeRoute) .With<RequestView>("View"); }
public void should_call_submit_on_controller() { var likeRoute = new LikeRouteSignature("submit", "login") .WithParameter(KnownParameters.Controller); RouteLog.ShouldContainRoute(likeRoute) .With<LoginController>(KnownParameters.Controller); }
public void should_show_get_view_in_mdi() { var likeRoute = new LikeRouteSignature("show", "mdi") .WithParameter(KnownParameters.View); RouteLog.ShouldContainRoute(likeRoute) .With<EditView>(KnownParameters.View); }
public void should_get_request_view_model() { var likeRoute = new LikeRouteSignature("request", "login") .WithParameter("ViewModel"); RouteLog.ShouldContainRoute(likeRoute) .With<RequestViewModel>("ViewModel"); }
public void should_get_customers_from_controller() { var likeRoute = new LikeRouteSignature("edit", "customer") .WithParameter(KnownParameters.ViewModel); RouteLog.ShouldContainRoute(likeRoute) .With<CustomerDto>(KnownParameters.ViewModel); }
public void should_direct_route_to_customer_controller() { var likeRoute = new LikeRouteSignature("edit", "customer") .WithParameter(KnownParameters.Controller); RouteLog.ShouldContainRoute(likeRoute) .With<CustomerController>(KnownParameters.Controller); }
public void should_save_success() { var likeRoute = new LikeRouteSignature("success", "customer") .WithParameter("customer"); RouteLog.ShouldContainRoute(likeRoute) .With<CustomerDto>("customer"); }
public void should_close_view_and_mdi() { var likeRoute = new LikeRouteSignature("close", "mdi") .WithParameter(KnownParameters.View); RouteLog.ShouldContainRoute(likeRoute) .With<EditView>("View"); }
public void should_get_view() { var likeRoute = new LikeRouteSignature("edit", "customer") .WithParameter(KnownParameters.ViewModel) .WithParameter(KnownParameters.View); RouteLog.ShouldContainRoute(likeRoute) .With<EditView>(KnownParameters.View); }