public void ShouldSetStatusCodeToBadRequest()
        {
            var versions = Enumerable.Empty<string>();

            var response = new WebSocketVersionNotSupportedResponse(versions);

            Assert.AreEqual(HttpStatusCode.BadRequest, response.StatusCode);
        }
        public void ShouldAddWebSocketVersionToHeader()
        {
            var versions = new[] {"1"};

            var response = new WebSocketVersionNotSupportedResponse(versions);

            Assert.That(response.Headers.ContainsKey("Sec-WebSocket-Version"));
        }