public void TestImplementsConcrete() { context.ScannedPackages = new string[] { "strange.unittests.annotated.testConcrete" }; context.Start(); TestConcreteClass testConcreteClass = context.injectionBinder.GetInstance <TestConcreteClass>() as TestConcreteClass; Assert.IsNotNull(testConcreteClass); }
public TestServiceWithMixedDependencies(ITestInterface testInterface, TestAbstractClass testAbstractClass, TestConcreteClass testConcreteClass) { TestInterface = testInterface; TestAbstractClass = testAbstractClass; TestConcreteClass = testConcreteClass; }