php-mock/php-mock-phpunit (packagist): Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.
Keywords: phpunit|BDD|TDD|test|mock|stub|test double|function|builtin-functions|php|php-mock