public void ShouldContainKey_WhenTrue_ShouldNotThrow()
 {
     var dictionary = new Dictionary<string, string>();
     dictionary.Add("key", "value");
     dictionary.ShouldContainKey("key");
     dictionary.ShouldNotContainKey("rob");
 }
        public void ShouldNotContainKey()
        {
            DocExampleWriter.Document(() =>
            {
                var websters = new Dictionary<string, string>();
                websters.Add("Chazzwazzers", "What Australians would have called a bull frog.");

                websters.ShouldNotContainKey("Chazzwazzers");
            }, _testOutputHelper);
        }
Example #3
0
        public void ShouldNotContainKey()
        {
            var websters = new Dictionary<string, string>();
            websters.Add("Chazzwazzers", "What Australians would have called a bull frog.");

            websters.ShouldNotContainKey("Chazzwazzers");
        }