public async Task SingleNamespaceTest() { var repositoryFactory = new FakeConfigRepository(ConfigConsts.NamespaceApplication, new Properties(new Dictionary <string, string> { ["A"] = "3" })); var config = await CreateConfig(repositoryFactory).ConfigureAwait(false); Assert.Equal("3", config.GetProperty("A", "")); ConfigChangeEventArgs?args = null; config.ConfigChanged += (sender, e) => args = e; repositoryFactory.Change(new Properties(new Dictionary <string, string>())); await Task.Delay(100).ConfigureAwait(false); Assert.NotNull(args); }