Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
ReturnValueMap.php | 2017-07-31 | 1.1 kB | |
ReturnReference.php | 2017-07-31 | 571 Bytes | |
ReturnSelf.php | 2017-07-31 | 980 Bytes | |
ReturnArgument.php | 2017-07-31 | 1.0 kB | |
ReturnCallback.php | 2017-07-31 | 1.4 kB | |
MatcherCollection.php | 2017-07-31 | 754 Bytes | |
Return.php | 2017-07-31 | 932 Bytes | |
ConsecutiveCalls.php | 2017-07-31 | 1.2 kB | |
Exception.php | 2017-07-31 | 1.3 kB | |
Totals: 9 Items | 9.3 kB | 0 |
PHPUnit_MockObject
PHPUnit_MockObject is the default mock object library for PHPUnit.
Requirements
- PHP 5.6 is required but using the latest version of PHP is highly recommended
Installation
You can add this library as a local, per-project dependency to your project using Composer:
composer require phpunit/phpunit-mock-objects
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev phpunit/phpunit-mock-objects