public void HasRules_CorrectlyReturnsFalseIfThereAreNoRules() { var dataStore = RCTestUtils.GetDataStore(); RemoteConfigDataManager dataManager = new RemoteConfigDataManager(); Assert.That(dataManager.HasRules() == false); }
public void HasRules_CorrectlyReturnsTrueIfThereAreRules() { var dataStore = RCTestUtils.GetDataStore(); dataStore.rulesList = new List <RuleWithSettingsMetadata>(RCTestUtils.rulesWithSettingsMetadata); RemoteConfigDataManager dataManager = new RemoteConfigDataManager(); Assert.That(dataManager.HasRules() == true); }