Is it possible to test Nullable Types with PersistenceSpecification?
var approved = new Nullable<DateTime>();
spec.CheckProperty(x => x.Approved, approved);
Currently this throws a NullReferenceException. Am I doing it wrong?
Is it possible to test Nullable Types with PersistenceSpecification?
var approved = new Nullable<DateTime>();
spec.CheckProperty(x => x.Approved, approved);
Currently this throws a NullReferenceException. Am I doing it wrong?
Is possible indeed.
Nullable<DateTime>?