public function testCompleteColonCommand()
{
// Normal bash behaviour is to count the colon character as a word break
// Since a colon is used to namespace Symfony Framework console commands the
// character in a command name should not be taken as a word break
//
// @see https://github.com/stecman/symfony-console-completion/pull/1
$handler = $this->createHandler('app walk');
$this->assertEquals(array('walk:north'), $this->getTerms($handler->runCompletion()));
$handler = $this->createHandler('app walk:north');
$this->assertEquals(array('walk:north'), $this->getTerms($handler->runCompletion()));
$handler = $this->createHandler('app walk:north --deploy');
$this->assertEquals(array('--deploy:jazz-hands'), $this->getTerms($handler->runCompletion()));
}