ContextualOptionsTests.cs (7)
20public void Receive<T>(string key, T value) => Received.Add((key, value));
28Assert.Single(receiver.Received, ("Foo", (object?)"FooValue"));
36Assert.Equal(2, receiver.Received.Count);
37Assert.Contains(("Foo", (object?)"FooValue"), receiver.Received);
38Assert.Contains(("Bar", (object?)"BarValue"), receiver.Received);
46Assert.Single(receiver.Received, ("Foo", (object?)"PropertyValue"));
54Assert.Single(receiver.Received, ("Foo", (object?)"FooValue"));