public function getAllEpisodesForShow($showId)
 {
     if (!is_numeric($showId)) {
         return [];
     }
     $episodes = $this->api->getEpisodesOfShow($showId);
     $episodes = $this->formatEpisodes($episodes);
     return JsonResponse::create($episodes);
 }
 /**
  * @vcr bierdopje.yml
  */
 public function test_it_formats_shows_without_next_airdate()
 {
     $show = $this->api->getShowBytvdbId(210411);
     $this->assertNull($show->nextEpisode);
 }