public function setUp() { $this->telegram = new Telegram('apikey', 'testbot'); $this->telegram->addCommandsPath(BASE_COMMANDS_PATH . '/UserCommands'); $this->telegram->getCommandsList(); }
/** * setUp */ public function setUp() { parent::setUp(); $this->command = new EchoCommand($this->telegram); }