/** * @param array|string $input */ private function setExpectedApplicationInput($input) { if (is_array($input)) { $input = implode("\n", $input); } $helper = $this->application->getHelperSet()->get('gush_question'); $helper->setInputStream($this->getInputStream($input)); }