private IRestEndpoint GetEndpoint() { _context = new WebApiRequestContext(RequestContext); var navigator = new EndpointNavigator(_context, _config.StartResourceFactory, _config.EndpointServices); return(navigator.GetEndpointFromPath(ResourcePath)); }
public EndpointNavigatorTests() { var startResourceFactory = new SingletonStartResourceFactory(new TestRestDirectory()); _navigator = new EndpointNavigator(new TestRequestContext(), startResourceFactory, new TestEndpointServices()); }