endpoint(path, query) {

    return new EndpointRequest(this.router, path, query);

  }
Creates a new MockRequest object (emulates an HTTP request)
@param {string} path The path you wish to hit
@param {Object} query The query parameters you wish to pass
@return {Nodal.EndpointRequest}