off-hand, i can't think of a good reason for a con...
# server
l
off-hand, i can't think of a good reason for a constructor param to be nullable 😐
💯 1
🙌 1
👍 1
d
For creating unit test fakes
Copy code
class TestClock(var currentNow: Instant = Clock.System.now()) : Clock {
    override fun now(): Instant = currentNow
}