コード例 #1
0
        public void ForKeyInDictionaryContainsKeyShouldReturnTrue()
        {
            var errors = new ResultErrorsDictionary {
                { "key", "value" }
            };

            errors.ContainsKey("key").Should().BeTrue();
        }
コード例 #2
0
        public void ForNoKeyInDictionaryContainsKeyShouldReturnFalse()
        {
            var errors = new ResultErrorsDictionary();

            errors.ContainsKey("key").Should().BeFalse();
        }