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\PurgeCommand;
/**
* Test memcached purging command
*
* @author Viktor Novikov <[email protected]>
* @author Alexandr Zhulev <[email protected]>
*/
class PurgeCommandTest extends CommandTestCase
{
* {@inheritdoc}
protected function getCommandInstance()
return new PurgeCommand();
}
protected function getCommand()
return 'uber:translations:purge';
* Test purge command execution
public function testExecute()
$this->commandTester->execute(array());
$this->assertTrue(is_string($this->commandTester->getDisplay()));