예제 #1
0
        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); });
        }
예제 #2
0
        public void Test_If_AddInMemoryConfiguration_Adds_InMemoryConfigurationSource()
        {
            var builder = new ConfigBuilderStub();

            TestProxy.AddInMemoryConfigurationProxy(builder);

            Assert.Contains(builder.Sources, (s) => { return(s is InMemoryConfigurationSource); });
        }