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(); }
public void DeleteNonexistentDefaultConfigStoreDoesNotThrow() { var configStore = new ConfigStore(_affiliateApplication.Name, ConfigStoreCollection.DEFAULT_CONFIG_STORE_IDENTIFIER); Invoking(() => configStore.Delete()).Should().NotThrow(); }
public void DefaultConfigStoreIsInitiallyEmpty() { var configStore = new ConfigStore(_affiliateApplication.Name, ConfigStoreCollection.DEFAULT_CONFIG_STORE_IDENTIFIER); configStore.Properties.Count.Should().Be(0); }
public void LoadNonexistentDefaultConfigStore() { var configStore = new ConfigStore(_affiliateApplication.Name, ConfigStoreCollection.DEFAULT_CONFIG_STORE_IDENTIFIER); configStore.Properties.Count.Should().Be(0); }