Mock built-in PHP functions (e.g. time() or rand()) in PHPUnit.
-
Updated
Jun 7, 2024 - PHP
Mock built-in PHP functions (e.g. time() or rand()) in PHPUnit.
Mock non deterministic built-in PHP functions (e.g. time() or rand()) with Mockery.
Mock built-in PHP functions (e.g. time()) with Prophecy (phpspec).
Add a description, image, and links to the php-mock topic page so that developers can more easily learn about it.
To associate your repository with the php-mock topic, visit your repo's landing page and select "manage topics."