Ejemplo n.º 1
0
        public void TestImplementsConcrete()
        {
            context.ScannedPackages = new string[] {
                "strange.unittests.annotated.testConcrete"
            };
            context.Start();

            TestConcreteClass testConcreteClass = context.injectionBinder.GetInstance <TestConcreteClass>() as TestConcreteClass;

            Assert.IsNotNull(testConcreteClass);
        }
Ejemplo n.º 2
0
 public TestServiceWithMixedDependencies(ITestInterface testInterface, TestAbstractClass testAbstractClass, TestConcreteClass testConcreteClass)
 {
     TestInterface     = testInterface;
     TestAbstractClass = testAbstractClass;
     TestConcreteClass = testConcreteClass;
 }