public void GetDictionaryNames_OneDictionary()
        {
            IResourceProvider resourceProvider = new ResourceProvider();

            RegisterFirstDictionary(resourceProvider);

            var actual = resourceProvider.GetDictionaryNames();

            Assert.AreEqual(1, actual.Count);
            Assert.Contains(Constants.Dictionary1.Name, actual);
        }
        public void GetDictionaryNames_TwoDictionaries()
        {
            IResourceProvider resourceProvider = new ResourceProvider();

            RegisterFirstDictionary(resourceProvider);
            RegisterSecondDictionary(resourceProvider);

            var actual = resourceProvider.GetDictionaryNames();

            Assert.AreEqual(2, actual.Count);
            Assert.Contains(ResourceProviderTestsConstants.Dictionary1.Name, actual);
            Assert.Contains(ResourceProviderTestsConstants.Dictionary2.Name, actual);
        }
        public void RegisterDictionary_UniqueDictionariesRegistered()
        {
            IResourceProvider resourceProvider = new ResourceProvider();

            RegisterFirstDictionary(resourceProvider);
            RegisterSecondDictionary(resourceProvider);
            RegisterFirstDictionary(resourceProvider);

            var dictionaryNames = resourceProvider.GetDictionaryNames();

            Assert.AreEqual(2, dictionaryNames.Count);
            Assert.Contains(Constants.Dictionary1.Name, dictionaryNames);
            Assert.Contains(Constants.Dictionary2.Name, dictionaryNames);
        }