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

            Environment currentEnvironment = new Environment();

            currentEnvironment.name = RCTestUtils.currentEnvironment;
            currentEnvironment.id   = RCTestUtils.currentEnvironmentId;

            dataManager.SetCurrentEnvironment(currentEnvironment);

            //Assert.That(Equals(dataStore.currentEnvironment, currentEnvironment.name));
            Assert.That(Equals(dataStore.currentEnvironmentId, currentEnvironment.id));
        }