using Acl.Application; namespace Acl.Tests; public class DefaultFillStoreTests { private static DefaultFillSettings Seed() => new("517439943", "517439943", "openbaar"); [Fact] public void Seeds_from_the_supplied_settings() { var store = new InMemoryDefaultFillStore(Seed()); Assert.Equal("517439943", store.Current.Bronorganisatie); Assert.Equal("openbaar", store.Current.Vertrouwelijkheidaanduiding); } [Fact] public void Updating_replaces_the_current_settings() { var store = new InMemoryDefaultFillStore(Seed()); store.Update(new DefaultFillSettings("999999999", "888888888", "vertrouwelijk")); Assert.Equal("999999999", store.Current.Bronorganisatie); Assert.Equal("888888888", store.Current.VerantwoordelijkeOrganisatie); Assert.Equal("vertrouwelijk", store.Current.Vertrouwelijkheidaanduiding); } }