Skip to content

Code that depends on now

A method calls LocalDate.now() to decide whether a subscription has expired.

Why is this hard to test?