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