public void Pipeline3() { var m = new UrlRoutingModule(); RouteTable.Routes.Add(new MyRoute("{foo}/{bar}", new MyRouteHandler())); var hc = new HttpContextStub5("~/x/y", String.Empty, "apppath"); hc.SetResponse(new HttpResponseStub(2)); Assert.IsNull(m.RouteCollection.GetRouteData(hc), "#0"); }
public void Pipeline3 () { var m = new UrlRoutingModule (); RouteTable.Routes.Add (new MyRoute ("{foo}/{bar}", new MyRouteHandler ())); var hc = new HttpContextStub5 ("~/x/y", String.Empty, "apppath"); hc.SetResponse (new HttpResponseStub (2)); Assert.IsNull (m.RouteCollection.GetRouteData (hc), "#0"); }