public void WithProxyRegistersGivenProxy()
        {
            var connectionBuilder = new HubConnectionBuilder();
            var proxy             = Mock.Of <IWebProxy>();

            connectionBuilder.WithProxy(proxy);
            Assert.Same(proxy, connectionBuilder.GetProxy());
        }