Mock environment for sleep(), usleep(), time() and microtime().