Libraries tagged by mock objects
mockery/mockery
413963671 Downloads
Mockery is a simple yet flexible PHP mock object framework
phpunit/phpunit-mock-objects
201027034 Downloads
Mock Object library for PHPUnit
simpletest/simpletest
341034 Downloads
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.
ptrofimov/xpmock
462014 Downloads
PHPUnit: simple syntax to create mock-objects
phpunit/phpunit-mock-objects
Downloads
getdkan/mock-chain
117654 Downloads
A library that helps create chains of mocked objects.
michalv8/xpmock
61490 Downloads
PHPUnit: simple syntax to create mock-objects
sminnee/phpunit-mock-objects
186588 Downloads
Mock Object library for PHPUnit (fork to add PHP 7.4 support to 3.4)
zookal/magento-mock
26 Downloads
Magento Mock Objects for disabled core modules
dreamscapes/ldap-core
83119 Downloads
Object encapsulation of PHP's native ldap functions
blackbird/magento-mock-object
120 Downloads
N/A
degaray/mock-soapclient
385 Downloads
This class is used to overwrite the functionality of the soapclient. It is very usefull when mocking objects expected from soap calls to web sevices in unit testing.
facile-it/moka
11641 Downloads
Shorthand for creating mock objects
crimsonkissaki/mockmaker
44 Downloads
Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.
pdo-proxy/pdo-proxy
25 Downloads
PDO Proxy is a simple, event-driven PDO wrapper that allows to intercept and alter execution of all PDO methods. The PDOProxy\PDO and PDOProxy\PDOStatement classes extend the native PDO and PDOStatement classes, therefore they are compatible with any method expecting regular PDO objects.