public function setHelperSet(HelperSet $helperSet) { $this->helperSet = $helperSet; }
public function simulateHelperSet(Command $command) { $this->dialog = $this->getMock("Symfony\\Component\\Console\\Helper\\DialogHelper"); $helpers = array('dialog' => $this->dialog); $helperSet = new HelperSet($helpers); $command->setHelperSet($helperSet); }