public void WhenNoBidirectionalThenShouldMatch()
 {
     var pattern = new UnidirectionalUnaryAssociationPattern();
     pattern.Match(typeof(MyClass).GetProperty("A")).Should().Be.True();
 }
 public void WhenNullMemberThenShouldntMatch()
 {
     var pattern = new UnidirectionalUnaryAssociationPattern();
     pattern.Match(null).Should().Be.False();
 }
 public void WhenBidirectionalThenShouldntMatch()
 {
     var pattern = new UnidirectionalUnaryAssociationPattern();
     pattern.Match(typeof(MyClass).GetProperty("MyClassOther")).Should().Be.False();
     pattern.Match(typeof(MyClassOther).GetProperty("MyClass")).Should().Be.False();
 }