GitHub repository: marcoscoelho/php-mock-phpunit
Description:  Mock built-in PHP functions (e.g. time() or rand()) in PHPUnit.