I have a dictionary of type Dictionary<string, object>
which I am trying assert with Fluent Assertions. I need to check if it contains a key called "iss" and value "ABC". I need to do assert the "value" field without considering the case. Is it supported?
dictionary.Should().ContainKey("iss").WhichValue.Should().BeEquivalentTo("abc");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With