public void WhenMemberIsNotDateTimeThenNoMatch() { var applier = new MsSQL2008DateTimeApplier(); applier.Match(ForClass <MyClass> .Property(x => x.Something)).Should().Be.False(); }
public void WhenMemberIsDateNullableDateTimeThenNoMatch() { var applier = new MsSQL2008DateTimeApplier(); applier.Match(ForClass <MyClass> .Property(x => x.DateOfExpiration)).Should().Be.False(); }
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(); }