public async void Must_generate_not_acceptable_response()
            {
                ResponseResult result = await _generator.GetResponseAsync(_context, _routeMatchResults);

                Assert.That(result.CacheKey, Is.Null);
                Assert.That((await result.Response).StatusCode.ParsedStatusCode, Is.EqualTo(HttpStatusCode.NotAcceptable));
            }
            public async void Must_generate_unsupported_media_type_response()
            {
                ResponseResult result = await _generator.GetResponseAsync(_context, _routeMatchResults);

                Assert.That(result.CacheKey, Is.Null);
                Assert.That((await result.Response).StatusCode.ParsedStatusCode, Is.EqualTo(HttpStatusCode.UnsupportedMediaType));
            }
            public async void Must_generate_method_not_allowed_response()
            {
                ResponseResult result = await _generator.GetResponseAsync(_context, _routeMatchResults);

                Assert.That(result.CacheKey, Is.Null);
                Assert.That((await result.Response).StatusCode.ParsedStatusCode, Is.EqualTo(HttpStatusCode.MethodNotAllowed));
                Assert.That((await result.Response).Headers.Any(arg => arg.Field == "Allow" && arg.Value == "GET"), Is.True);
            }