public void Can_Find_Dictionary_By_Name()
        {
            // Arrange
            IDictionaryRepository dictionaryRepository = new DictionaryRepository();
            Dictionary arrangedDictionary = new Dictionary()
            {
                Id = 1,
                Name = "MEDIA_TYPE",
                Description = "Dictionary which defines media types"
            };

            // Act
            var foundDictionary = dictionaryRepository.GetByName("MEDIA_TYPE");

            // Assert
            Assert.IsNotNull(foundDictionary);
            Assert.AreEqual<Dictionary>(arrangedDictionary, foundDictionary);
        }
        public void Can_Find_Dictionary_Value_By_Id()
        {
            // Arrange
            IDictionaryRepository dictionaryRepository = new DictionaryRepository();
            DictionaryValue arrangedDictionaryValue = new DictionaryValue()
            {
                Id = 1,
                Position = "MT_EXTERNAL_IMAGE",
                Value = "External image",
                Description = "Source of image is from external URL",
                DictionaryId = 1
            };

            // Act
            var foundDictionary = dictionaryRepository.GetValueById(1);

            // Assert
            Assert.IsNotNull(foundDictionary);
            Assert.AreEqual<DictionaryValue>(arrangedDictionaryValue, foundDictionary);
        }