protected virtual void Setup() { TestClient = TestHost.GetTestClient(); TestServer = TestHost.GetTestServer(); WebSocketClient = TestServer.CreateWebSocketClient(); TestApiUri = new UriBuilder(TestServer.BaseAddress) { Path = "/api/" }.Uri; TestWebSocketsUri = new UriBuilder(TestServer.BaseAddress) { Scheme = "ws", Path = "/ws/" }.Uri; }