public void TryGetValueKeyDoesntExist()
        {
            var    role = new RoleEnvironmentConfigurationDictionary();
            string value;

            Assert.IsFalse(role.TryGetValue(StringHelper.ValidString(), out value));
            Assert.IsNull(value);
        }
        public void TryGetValueInvalidKey()
        {
            var    role = new RoleEnvironmentConfigurationDictionary();
            string value;

            Assert.IsFalse(role.TryGetValue(StringHelper.NullEmptyWhiteSpace(), out value));
            Assert.IsNull(value);
        }
        public void ValueRoundTrip()
        {
            var role = new RoleEnvironmentConfigurationDictionary();

            Assert.AreEqual <int>(0, role.Count);
            var key   = Guid.NewGuid().ToString();
            var value = Guid.NewGuid().ToString();

            Assert.IsFalse(role.ContainsKey(key));
            role[key] = value;
            Assert.AreEqual <string>(value, role[key]);
            Assert.AreEqual <int>(1, role.Count);
        }
        public void IsReadOnly()
        {
            var role = new RoleEnvironmentConfigurationDictionary();

            Assert.IsFalse(role.IsReadOnly);
        }
        public void ContainsKeyInvalidKey()
        {
            var role = new RoleEnvironmentConfigurationDictionary();

            Assert.IsFalse(role.ContainsKey(StringHelper.NullEmptyWhiteSpace()));
        }