public override RouteData Build() { var result = new RouteData(); result.Route = FakeRouteBuilder.Create() .WithRouteData(result) .Build(); result.RouteHandler = _routeHandler; return(result); }
public override RouteDataBuilder WithRandomProps() { return(WithRoute(FakeRouteBuilder.BuildRandom()) .WithRouteHandler(Substitute.For <IRouteHandler>())); }