Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
TraversableMockTestInterface.php | 2017-07-31 | 69 Bytes | |
StringableClass.php | 2017-07-31 | 101 Bytes | |
StaticMockTestClass.php | 2017-07-31 | 185 Bytes | |
SingletonClass.php | 2017-07-31 | 333 Bytes | |
SomeClass.php | 2017-07-31 | 163 Bytes | |
Mockable.php | 2017-07-31 | 500 Bytes | |
PartialMockTestClass.php | 2017-07-31 | 261 Bytes | |
MockTestInterface.php | 2017-07-31 | 118 Bytes | |
MethodCallbackByReference.php | 2017-07-31 | 197 Bytes | |
InterfaceWithStaticMethod.php | 2017-07-31 | 89 Bytes | |
MethodCallback.php | 2017-07-31 | 360 Bytes | |
GoogleSearch.wsdl | 2017-07-31 | 7.5 kB | |
InterfaceWithSemiReservedMethodName.php | 2017-07-31 | 85 Bytes | |
FunctionCallback.php | 2017-07-31 | 132 Bytes | |
Foo.php | 2017-07-31 | 114 Bytes | |
ClassWithSelfTypeHint.php | 2017-07-31 | 85 Bytes | |
ClassWithStaticMethod.php | 2017-07-31 | 92 Bytes | |
Bar.php | 2017-07-31 | 95 Bytes | |
ClassThatImplementsSerializable.php | 2017-07-31 | 322 Bytes | |
AnInterfaceWithReturnType.php | 2017-07-31 | 90 Bytes | |
AnotherInterface.php | 2017-07-31 | 76 Bytes | |
AbstractTrait.php | 2017-07-31 | 223 Bytes | |
AnInterface.php | 2017-07-31 | 67 Bytes | |
AbstractMockTestClass.php | 2017-07-31 | 188 Bytes | |
Totals: 24 Items | 11.4 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