public void Test_If_AddInMemoryConfiguration_Adds_InMemoryConfigurationSource_WithGivenSourceReference() { var builder = new ConfigBuilderStub(); TestProxy.AddInMemoryConfigurationProxy(builder, new Dictionary <string, string>()); Assert.Contains(builder.Sources, (s) => { return(s is InMemoryConfigurationSource); }); }
public void Test_If_AddInMemoryConfiguration_Adds_InMemoryConfigurationSource() { var builder = new ConfigBuilderStub(); TestProxy.AddInMemoryConfigurationProxy(builder); Assert.Contains(builder.Sources, (s) => { return(s is InMemoryConfigurationSource); }); }