public void Execute_ClassWithNamedAnnotatedProperties_ReturnsServiceNameFromAttribute()
        {
            var selector = new AnnotatedConstructorDependencySelector();

            ConstructorDependency constructorDependency = selector.Execute(typeof(FooWithNamedAnnotatedDependency).GetConstructors().First()).FirstOrDefault();

            Assert.AreEqual("AnotherBar", constructorDependency.ServiceName);
        }
        public void Execute_ClassWithAnnotatedProperties_ReturnsDependencies()
        {
            var selector = new AnnotatedConstructorDependencySelector();

            var result = selector.Execute(typeof(FooWithAnnotatedDependency).GetConstructors().First());

            Assert.AreEqual(1, result.Count());
        }