Beispiel #1
0
        public void GetRuleAtIndex_ReturnsRuleAtIndex()
        {
            var dataStore = RCTestUtils.GetDataStore();
            RemoteConfigDataManager dataManager = new RemoteConfigDataManager();

            dataManager.SetRulesDataStore(new List <Rule>(RCTestUtils.rulesList));

            for (int i = 0; i < dataStore.rulesList.Count; i++)
            {
                Assert.That(Equals(dataManager.GetRuleAtIndex(i), dataStore.rulesList[i]));
            }
        }