php-mock/php-mock-mockery
Integrates php-mock with Mockery to mock PHP built-in functions in tests. Create namespaced function mocks with PHPMockery::mock() and set expectations/returns, then call Mockery::close(). Supports only unqualified calls; define early if needed.
|
Package
|
Constraint
|
|---|---|
| mockery/mockery | ^1 |
| php-mock/php-mock-integration | ^2.2.1 || ^3.0 |
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^4|^5|^8 |
How can I help you explore Laravel packages today?