public void WhenNullNotThrow()
 {
     var pattern = new PoidPropertyAsClassNameId();
     pattern.Executing(p=> p.Match(null)).NotThrows();
 }
 public void NoMatchWith_myClassId_Property()
 {
     var pattern = new PoidPropertyAsClassNameId();
     pattern.Match(ForClass<MyClass>.Property(x => x.myClassId)).Should().Be.False();
 }
        public void NoMatchWithMyClassIdProperty()
        {
            var pattern = new PoidPropertyAsClassNameId();

            pattern.Match(ForClass <MyClass> .Property(x => x.Id)).Should().Be.False();
        }
 public void MatchWithMyClassIdProperty()
 {
     var pattern = new PoidPropertyAsClassNameId();
     pattern.Match(ForClass<MyClass>.Property(x => x.MyClassId)).Should().Be.True();
 }
        public void WhenNullNotThrow()
        {
            var pattern = new PoidPropertyAsClassNameId();

            pattern.Executing(p => p.Match(null)).NotThrows();
        }