private void WhenIGetTheNextHostAndPort() { _loadBalancer = new NoLoadBalancer(_services); _result = _loadBalancer.Lease().Result; }
private void WhenIGetTheNextHostAndPort() { _loadBalancer = new NoLoadBalancer(_services); _result = _loadBalancer.Lease(new DownstreamContext(new DefaultHttpContext())).Result; }
private void WhenIGetTheNextHostAndPort() { _result = _loadBalancer.Lease(new DefaultHttpContext()).Result; }