1 write to CapturedHeaders
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
HeaderPropagationMiddlewareTest.cs (1)
17CapturedHeaders = State.Headers;
17 references to CapturedHeaders
Microsoft.AspNetCore.HeaderPropagation.Tests (17)
HeaderPropagationMiddlewareTest.cs (17)
46Assert.Contains("in", CapturedHeaders.Keys); 47Assert.Equal(new[] { "test" }, CapturedHeaders["in"].ToArray()); 60Assert.Empty(CapturedHeaders); 73Assert.Empty(CapturedHeaders); 89Assert.Contains("in", CapturedHeaders.Keys); 90Assert.Equal(new[] { "test" }, CapturedHeaders["in"].ToArray()); 91Assert.Contains("another", CapturedHeaders.Keys); 92Assert.Equal(new[] { "test2" }, CapturedHeaders["another"].ToArray()); 108Assert.DoesNotContain("in", CapturedHeaders.Keys); 134Assert.Contains("in", CapturedHeaders.Keys); 135Assert.Equal(expectedValues, CapturedHeaders["in"].ToArray()); 152Assert.Contains("in", CapturedHeaders.Keys); 153Assert.Equal("test", CapturedHeaders["in"]); 167Assert.DoesNotContain("in", CapturedHeaders.Keys); 180Assert.DoesNotContain("in", CapturedHeaders.Keys); 195Assert.Contains("in", CapturedHeaders.Keys); 196Assert.Equal("Test", CapturedHeaders["in"]);