command = new JWTGenerateCommand(); $this->tester = new CommandTester($this->command); } /** @test */ public function it_shoud_generate_random_key() { // $app = new Application(); // $app['path.base'] = ''; // $this->command->setLaravel($app); // $this->runCommand($this->command); } protected function runCommand($command, $input = array()) { return $command->run(new ArrayInput($input), new NullOutput); } }