3 namespace Wallabag\CoreBundle\Tests\Mock
;
5 use Wallabag\CoreBundle\Command\InstallCommand
;
8 * This mock aims to speed the test of InstallCommand by avoid calling external command
9 * like all doctrine commands.
11 * This speed the test but as a downside, it doesn't allow to fully test the InstallCommand
13 * Launching tests to avoid doctrine command:
14 * phpunit --exclude-group command-doctrine
16 class InstallCommandMock
extends InstallCommand
18 protected function runCommand($command, $parameters = array())