public void Serialization()
        {
            var dictionary = new SynchronizedDictionary <string, string>();

            var collection = new[] {
                new KeyValuePair <string, string>("22", "33"),
                new KeyValuePair <string, string>("44", "55"),
                new KeyValuePair <string, string>("66", "77"),
            };

            dictionary.AddRange(collection);

            var serialized = dictionary.Serialization().Binary();

            Assert.True(dictionary.ToList().Equality().Equal(serialized));
        }
        public void Serialization()
        {
            var dictionary = new SynchronizedDictionary<string, string>();

            var collection = new[] {
                new KeyValuePair<string, string>("22", "33"),
                new KeyValuePair<string, string>("44", "55"),
                new KeyValuePair<string, string>("66", "77"),
            };

            dictionary.AddRange(collection);

            var serialized = dictionary.Serialization().Binary();

            Assert.True(dictionary.ToList().Equality().Equal(serialized));
        }