protected function execute(InputInterface $input, OutputInterface $output)
 {
     $streams = $this->loader->getStreams($input->getOption('channelId'));
     $table = new Table($output);
     $table->setHeaders(['Name', 'Thumb', 'Video Id'])->setRows(array_map('array_values', $streams));
     $table->render();
 }
 /**
  * @expectedException \Mcfedr\YouTube\LiveStreamsBundle\Exception\MissingChannelIdException
  */
 public function testGetStreamsNoChannel()
 {
     $loader = new YouTubeStreamsLoader(new Client());
     $loader->getStreams();
 }