public void CreatesTypeWithInjectionConstructorAttribute() { var typeFactory = TypeFactory.Default; var instance = typeFactory.CreateInstance<ClassWithSeveralMatchesForDependencyInjection>(); Assert.IsTrue(instance.IsRightConstructorUsed); }