When writing unit tests, you probably met with the question of how to test the method, the calculation of which is dependent on
DateTime.Now
.DateTime.Now
always returns a new value according to the current time, so testing this method is not directly possible.