public void ShouldConstructAnObjectThatHasInterfacesForCDsByInstantiatingDependenciesIfTheyAreNotRegistered()
        {
            TestClassWithInterfaceDependencies constructed = (TestClassWithInterfaceDependencies)store.GetByType(typeof(TestClassWithInterfaceDependencies));

            Assert.IsNotNull(constructed);
            Assert.IsNotNull(constructed.Dependency);
        }
        public void ShouldConstructAnObjectThatHasInterfacesForCDsByUsingRegisteredInstancesIfTheyAreRegistered()
        {
            TestClass dependency = new TestClass();

            store.AddInstanceForType(typeof(TestInterface), dependency);
            TestClassWithInterfaceDependencies constructed = (TestClassWithInterfaceDependencies)store.GetByType(typeof(TestClassWithInterfaceDependencies));

            Assert.IsNotNull(constructed);
            Assert.IsNotNull(constructed.Dependency);
        }