java, test, timeA way of testing code based on time in a Spring Boot ApplicationEvery time I see a Instant.now() / new Date() / something that creates a date based on the current time I tremble. How do you expect to test…