Testing Time, Randomness and Async Code
Learn Testing Time, Randomness and Async Code (Testing in Practice, JUnit 5 & Mockito) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Code that depends on the clock or on threads is hard to test unless you control those inputs.