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);
        }