public void DictionaryUtility_MergeFirstValues_2()
        {
            Dictionary <string, int> first  = new Dictionary <string, int>();
            Dictionary <string, int> second = null;

            DictionaryUtility.MergeFirstValues(first, second);
        }
        public void DictionaryUtility_MergeFirstValues_1()
        {
            Dictionary <string, int> first = new Dictionary <string, int>
            {
                { "one", 1 },
                { "two", 2 },
                { "three", 3 }
            };

            Dictionary <string, int> second = new Dictionary <string, int>
            {
                { "three", 4 },
                { "four", 5 },
                { "five", 6 }
            };

            Dictionary <string, int> result = DictionaryUtility.MergeFirstValues
                                              (
                first,
                second
                                              );

            Assert.AreEqual(5, result.Count);
        }