public void AttributeDictionary_TryGetValue_Success()
        {
            // Arrange
            var attributes = new AttributeDictionary();

            attributes.Add(new KeyValuePair <string, string>("zero", "0"));
            attributes.Add(new KeyValuePair <string, string>("one", "1"));
            attributes.Add(new KeyValuePair <string, string>("two", "2"));

            string value;

            // Act
            var result = attributes.TryGetValue("two", out value);

            // Assert
            Assert.True(result);
            Assert.Equal("2", value);
        }
        public void AttributeDictionary_TryGetValue_Failure()
        {
            // Arrange
            var attributes = new AttributeDictionary();

            attributes.Add(new KeyValuePair <string, string>("zero", "0"));
            attributes.Add(new KeyValuePair <string, string>("one", "1"));
            attributes.Add(new KeyValuePair <string, string>("two", "2"));

            string value;

            // Act
            var result = attributes.TryGetValue("nada", out value);


            // Assert
            Assert.False(result);
            Assert.Null(value);
        }