public void NoMatchWithNullMember() { var pattern = new PoidGuidPattern(); pattern.Match(null).Should().Be(false); }
public void MatchWithGuidMember() { var pattern = new PoidGuidPattern(); pattern.Match(TypeExtensions.DecodeMemberAccessExpression <MyClass>(m => m.GuidProp)).Should().Be(true); }