While trying to add unit tests for Age-related functions, there is no way to do temporal tests, since Now is always based on the system time and not replaceable with deterministic values for it.
The TimeProvider provides a mechanism to override this. It would have to be included in CqlContext
While trying to add unit tests for Age-related functions, there is no way to do temporal tests, since
Now
is always based on the system time and not replaceable with deterministic values for it.The TimeProvider provides a mechanism to override this. It would have to be included in
CqlContext