Class ClockConfiguration
java.lang.Object
com.irurueta.authserver.authorization.application.time.ClockConfiguration
Provides the
Clock the use cases read the current time from, so tests can replace it with a fixed one.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClockConfiguration
public ClockConfiguration()
-
-
Method Details
-
clock
Creates the system clock in UTC.- Returns:
- the clock.
-