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