public void Should_get_action_from_redirect_result()
 {
     var result = new RedirectToRouteResult(new RouteValueDictionary(new { action = "foo" }));
     Assert.That(result.GetRedirectAction(), Is.EqualTo("foo"));
 }
 public void Should_blow_up_if_redirect_result_does_contain_an_action()
 {
     var result = new RedirectToRouteResult(new RouteValueDictionary(new { lulz = "foo" }));
     result.GetRedirectAction();
 }