Closed
Description
If you have a dictionary that was created with a custom comparer then the DictionaryContainsKeyConstraint does not work as expected.
var dictionary = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase) { { "Hello", "World" }, { "Hola", "Mundo" } };
Assert.That(dictionary, Does.ContainKey("hello"));