SetHeader() public method

public SetHeader ( string headerName, string headerValue ) : void
headerName string
headerValue string
return void
        public void FeedTestJson()
        {
            var testMessage = new InMemoryResponse();
            testMessage.SetHeader("Content-Type", "application/json");

            var converter = new SodaToODataConverter(testMessage, new Uri("http://fake"), TestData.TopLevelSodaResponse);
            var payload = new JsonPayload(TestData.SodaResponseFor(TestData.TopLevelSodaResponse));
            converter.ConvertFeed(RelativeUriOData, RelativeUriSoda, payload, FeedUpdateTime);

            ApproveResponse(testMessage);
        }