Mock Mock Mock is part of a talk about Mocking-Frameworks and provides example code for in the talk mentioned mocks. The slides to that talk are available here.
To keep the Frameworks in the foreground of the examples, the micro testing Framework Testify is used.
The following Mocking-Frameworks are handled:
- PHPUnit_MockObject
- Prophecy
- Mockery
- vfsStream
- Phake
- php-mock
- aspect-mock
git clone git@github.com:SenseException/mock-mock-mock.git
cd mock-mock-mock
composer install
Start a webserver to run the tests in browser:
php -S localhost:8080 -t src/