Exemple #1
0
        private static void WhenNotOverridden_ShouldReturnDefaultImplementation(Type interfaceType,
                                                                                Type defaultImplementationType)
        {
            var configuration = new DIConfiguration();
            var mappedTypes   = configuration
                                .Build();

            Assert.IsTrue(mappedTypes.ContainsKey(interfaceType));
            Assert.AreEqual(defaultImplementationType, mappedTypes[interfaceType]);
        }