示例#1
0
        public void GetTagValueOrNullReturnsEmpty()
        {
            var tags = new Dictionary<string, string>();

            string tagValue = tags.GetTagValueOrNull("testKey");

            Assert.Null(tagValue);
        }
        public void GetTagValueOrNullReturnsEmpty()
        {
            var tags = new Dictionary <string, string>();

            string tagValue = tags.GetTagValueOrNull("testKey");

            Assert.Null(tagValue);
        }
示例#3
0
        public void GetTagValueOrNullReturnsCorrectStringValue()
        {
            var tags = new Dictionary<string, string>();

            string testKey = "testKey";
            string testValue = "testValue";

            tags[testKey] = testValue;

            string tagValue = tags.GetTagValueOrNull(testKey);

            Assert.Equal(testValue, tagValue);
        }
        public void GetTagValueOrNullReturnsCorrectStringValue()
        {
            var tags = new Dictionary <string, string>();

            string testKey   = "testKey";
            string testValue = "testValue";

            tags[testKey] = testValue;

            string tagValue = tags.GetTagValueOrNull(testKey);

            Assert.Equal(testValue, tagValue);
        }