/**
* @param string $name
*/
private function iExecuteCommandAndConfirm($name)
{
$this->dialog = $this->command->getHelper('dialog');
$inputString = 'y' . PHP_EOL;
$this->dialog->setInputStream($this->getInputStream($inputString));
$this->tester->execute(['command' => $name]);
}