public void Adaptor()
        {
            var random  = new Random();
            var adaptor = new ConfigurationAdaptorTest();
            var config  = new ConfigurationAdaptorOrder(adaptor, random.Next());

            Assert.AreEqual <IConfigurationAdaptor>(adaptor, config.Adaptor);
        }
        public void AddSingle()
        {
            var adaptor = new ConfigurationAdaptorTest();
            var key     = Guid.NewGuid().ToString();
            var value   = Guid.NewGuid().ToString();

            adaptor.Configuration.Add(key, value);

            var settings = Settings.Instance;

            settings.Add(adaptor);
            Assert.AreEqual <string>(value, settings.Get(key));
        }
        public void AddMultiple()
        {
            var adaptorA = new ConfigurationAdaptorTest();
            var key      = Guid.NewGuid().ToString();
            var value    = Guid.NewGuid().ToString();

            adaptorA.Configuration.Add(key, value);

            var adaptorB   = new ConfigurationAdaptorTest();
            var wrongValue = Guid.NewGuid().ToString();

            adaptorB.Configuration.Add(key, wrongValue);

            var settings = Settings.Instance;

            settings.Add(adaptorB);
            settings.Add(adaptorA);
            Assert.AreEqual <string>(value, settings.Get(key));
        }