Exemple #1
0
        public void WhenMemberIsNotDateTimeThenNoMatch()
        {
            var applier = new MsSQL2008DateTimeApplier();

            applier.Match(ForClass <MyClass> .Property(x => x.Something)).Should().Be.False();
        }
Exemple #2
0
        public void WhenMemberIsDateNullableDateTimeThenNoMatch()
        {
            var applier = new MsSQL2008DateTimeApplier();

            applier.Match(ForClass <MyClass> .Property(x => x.DateOfExpiration)).Should().Be.False();
        }
Exemple #3
0
        public void WhenMemberIsNotDateNullableDateTimeThenMatch()
        {
            var applier = new MsSQL2008DateTimeApplier();

            applier.Match(ForClass <MyClass> .Property(x => x.CreatedAt)).Should().Be.True();
        }
 public void WhenMemberIsNotDateTimeThenNoMatch()
 {
     var applier = new MsSQL2008DateTimeApplier();
     applier.Match(ForClass<MyClass>.Property(x => x.Something)).Should().Be.False();
 }
 public void WhenMemberIsNotDateNullableDateTimeThenMatch()
 {
     var applier = new MsSQL2008DateTimeApplier();
     applier.Match(ForClass<MyClass>.Property(x => x.CreatedAt)).Should().Be.True();
 }
 public void WhenMemberIsDateNullableDateTimeThenNoMatch()
 {
     var applier = new MsSQL2008DateTimeApplier();
     applier.Match(ForClass<MyClass>.Property(x => x.DateOfExpiration)).Should().Be.False();
 }