public void DefaultConfigStoreIsInitiallyEmpty()
        {
            var configStore = new ConfigStore(_affiliateApplication.Name, ConfigStoreCollection.DEFAULT_CONFIG_STORE_IDENTIFIER);

            configStore.SettingsShouldBeInitialized();
        }
 public static void SettingsShouldBeInitialized(this ConfigStore store)
 {
     store.Properties.Count.Should().Be(0);
 }
        public void NonDefaultConfigStoreIsInitiallyEmpty()
        {
            var configStore = new ConfigStore(_affiliateApplication.Name, Guid.NewGuid().ToString("B"));

            configStore.Properties.Should().BeEmpty();
        }
Пример #4
0
        public void DeleteNonexistentDefaultConfigStoreDoesNotThrow()
        {
            var configStore = new ConfigStore(_affiliateApplication.Name, ConfigStoreCollection.DEFAULT_CONFIG_STORE_IDENTIFIER);

            Invoking(() => configStore.Delete()).Should().NotThrow();
        }
Пример #5
0
        public void DefaultConfigStoreIsInitiallyEmpty()
        {
            var configStore = new ConfigStore(_affiliateApplication.Name, ConfigStoreCollection.DEFAULT_CONFIG_STORE_IDENTIFIER);

            configStore.Properties.Count.Should().Be(0);
        }
Пример #6
0
        public void LoadNonexistentDefaultConfigStore()
        {
            var configStore = new ConfigStore(_affiliateApplication.Name, ConfigStoreCollection.DEFAULT_CONFIG_STORE_IDENTIFIER);

            configStore.Properties.Count.Should().Be(0);
        }