for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sleepness\UberTranslationBundle\Tests\Command;
use Sleepness\UberTranslationBundle\Command\DumpCommand;
/**
* Test cli command for dump memcached translations
*
* @author Viktor Novikov <[email protected]>
*/
class DumpCommandTest extends CommandTestCase
{
* {@inheritdoc}
protected function getCommandInstance()
return new DumpCommand();
}
protected function getCommand()
return 'uber:translations:dump';
* Test purge command execution
public function testExecute()
$this->commandTester->execute(array());
$this->assertTrue(is_string($this->commandTester->getDisplay()));