polishsymfonycommunity/symfony2-mocker-extension

Behat extension for mocking services defined in the Symfony2 dependency injection container.

Installs: 36 478

Dependents: 2

Stars: 18

Watchers: 2

Forks: 7

Open Issues: 2

v1.0.2 2013-10-16 15:01 UTC

README

Build Status

Behat extension for mocking services defined in the Symfony2 dependency injection container.

Use it sparingly. Mocking a service container is not a good practice. Most of the time if there's a need for this, the problem can be better solved by improving the design instead.

Internally it uses Mockery and SymfonyMockerContainer.

Documentation

Official documentation