/** * Tests the execution of the command * * @return void */ public function testExecute() { $kernel = GravitonTestCase::createKernel(); $application = new Application($kernel); $application->add(new CleanDynamicBundleCacheCommand()); $command = $application->find('graviton:clean:dynamicbundles'); $command->setKernel($kernel); $command->setFilesystem($this->getFsMock()); $commandTester = new CommandTester($command); $commandTester->execute(array()); }