public void WhenStringThenNoMatch()
 {
     var member = ForClass<MyClass>.Property(x => x.StringProp);
     var pattern = new UseSetWhenGenericCollectionPattern();
     pattern.Match(member).Should().Be.False();
 }
 public void WhenGenericCollectionThenMatch()
 {
     var member = ForClass<MyClass>.Property(x => x.Collection);
     var pattern = new UseSetWhenGenericCollectionPattern();
     pattern.Match(member).Should().Be.True();
 }