There are three approaches to testing we can take: Good old sleep calls which are a safe way of having spurious test errors :-) calls which are a safe way of having spurious test errors :-) Mocking wall clock calls Making the clock a component It does seem overkill to build a specific clock component for the standard behavior of a wall clock which just reaches out to the system.