Mocking the java.time API for Better Testability August 14, 2022 • Source: dzone.com Date/time logic has many edge cases. Here, we'll look at strategies to bend the clock to your will for better testability.