public void Test_If_AddWebConfiguration_Adds_WebConfigurationSource() { var builder = new ConfigBuilderStub(); TestProxy.AddWebConfiguration(builder); Assert.Contains(builder.Sources, (s) => { return(s is WebConfigurationSource); }); }
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); }); }