Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
wsdl_method.tpl.dist | 2017-07-31 | 60 Bytes | |
unmocked_clone.tpl.dist | 2017-07-31 | 159 Bytes | |
wsdl_class.tpl.dist | 2017-07-31 | 179 Bytes | |
proxied_method_void.tpl.dist | 2017-07-31 | 761 Bytes | |
trait_class.tpl.dist | 2017-07-31 | 55 Bytes | |
mocked_static_method.tpl.dist | 2017-07-31 | 244 Bytes | |
proxied_method.tpl.dist | 2017-07-31 | 768 Bytes | |
mocked_method.tpl.dist | 2017-07-31 | 709 Bytes | |
mocked_method_void.tpl.dist | 2017-07-31 | 674 Bytes | |
mocked_class_method.tpl.dist | 2017-07-31 | 237 Bytes | |
mocked_clone.tpl.dist | 2017-07-31 | 132 Bytes | |
deprecation.tpl.dist | 2017-07-31 | 59 Bytes | |
mocked_class.tpl.dist | 2017-07-31 | 1.2 kB | |
Totals: 13 Items | 5.2 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