public void GetRuleByID_ReturnsRuleWithGivenID() { 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.GetRuleByID(dataStore.rulesList[i].id), dataStore.rulesList[i])); } }