public function testWillAskForPrivateKeyIfNotSpecified()
{
$this->adapter->expects($this->once())->method('addKeyPair')->with('foo', 'ZiePublicKey');
$helper = $this->command->getHelper('question');
$helper->setInputStream($this->getInputStream(['ZiePublicKey', '0', 'rexxars', 'n']));
$commandTester = new CommandTester($this->command);
$commandTester->execute(['publicKey' => 'foo']);
}