public void ContainsAnyKey()
        {
            // Type
            var @this = new Dictionary<string, string> {{"Fizz", "Buzz"}, {"Fizz2", "Buzz2"}};

            // Exemples
            bool value1 = @this.ContainsAnyKey("Fizz", "Fizz3"); // return true;
            bool value2 = @this.ContainsAnyKey("Fizz3", "Fizz4"); // return false;

            // Unit Test
            Assert.IsTrue(value1);
            Assert.IsFalse(value2);
        }
        public void ContainsAnyKeyTestCase1()
        {
            var dictionary = new Dictionary<String, String>
            {
                { RandomValueEx.GetRandomString(), RandomValueEx.GetRandomString() },
                { RandomValueEx.GetRandomString(), RandomValueEx.GetRandomString() }
            };

            var keys = dictionary.GetAllKeysAsList();
            Assert.IsTrue( dictionary.ContainsAnyKey( keys ) );

            keys.RemoveAt( 0 );
            keys.Add( "test" );
            Assert.IsTrue( dictionary.ContainsAnyKey( keys ) );

            Assert.IsFalse( dictionary.ContainsAnyKey( new List<String> { "test", "test2" } ) );
        }
        public void ContainsAnyKeyTestCase()
        {
            var dictionary = new Dictionary<String, String>
            {
                { RandomValueEx.GetRandomString(), RandomValueEx.GetRandomString() },
                { RandomValueEx.GetRandomString(), RandomValueEx.GetRandomString() }
            };

            Assert.IsTrue( dictionary.ContainsAnyKey( dictionary.First()
                                                                .Key,
                                                      dictionary.Last()
                                                                .Key ) );
            Assert.IsTrue( dictionary.ContainsAnyKey( dictionary.First()
                                                                .Key ) );
            Assert.IsTrue( dictionary.ContainsAnyKey( dictionary.First()
                                                                .Key,
                                                      "test" ) );
            Assert.IsFalse( dictionary.ContainsAnyKey( "test" ) );
        }