public void ChoosesTheResolvableConstructorWithTheMostParameters()
            {
                SetResolvable(typeof(IInterface1));
                SetResolvable(typeof(IInterface2));
                SetResolvable(typeof(IInterface3));

                var sut = new ResolverConstructorSelector();

                var ctor = sut.GetConstructor(typeof(Class2), MockResolver.Object);

                Assert.That(ctor.GetParameters().Length, Is.EqualTo(2));
            }
            public void NeverSelectsAConstructorWithANonDefaultPrimitivishParameter()
            {
                SetResolvable(typeof(IInterface1));
                SetResolvable(typeof(IInterface2));
                SetResolvable(typeof(IInterface3));

                var sut = new ResolverConstructorSelector();

                var ctor = sut.GetConstructor(typeof(Class3), MockResolver.Object);

                Assert.That(ctor.GetParameters().Length, Is.EqualTo(1));
            }