public function testUnlockAllUsersPromptNo()
{
$dialog = $this->getMock('Symfony\\Component\\Console\\Helper\\DialogHelper', array('ask'));
$dialog->expects($this->once())->method('ask')->will($this->returnValue("n"));
$application = $this->getApplication();
$application->add($this->getCommand());
$command = $this->getApplication()->find('admin:user:unlock');
$command->getHelperSet()->set($dialog, 'dialog');
$commandTester = new CommandTester($command);
$commandTester->execute(array('command' => $command->getName()));
$this->assertNotContains('All admins unlocked', $commandTester->getDisplay());
}