public void DoesNotMatchRegularMethodParameters()
 {
     var cp = new NamedPropertyParameter(HasInjectionPoints.PropertyName, "");
     Func<object> vp;
     Assert.False(cp.CanSupplyValue(MethodParameter(), new ContainerBuilder().Build(), out vp));
 }
 public void MatchesPropertySetterByName()
 {
     var cp = new NamedPropertyParameter(HasInjectionPoints.PropertyName, "");
     Func<object> vp;
     Assert.True(cp.CanSupplyValue(PropertySetValueParameter(), new ContainerBuilder().Build(), out vp));
 }
 public void DoesNotMatchePropertySetterWithDifferentName()
 {
     var cp = new NamedPropertyParameter(HasInjectionPoints.PropertyName, "");
     Func<object> vp;
     Assert.False(cp.CanSupplyValue(WrongPropertySetValueParameter(), new ContainerBuilder().Build(), out vp));
 }