### Question:
TelevisionShowsResource extends AbstractMediaResource<TelevisionShow> { @GET @Produces(MediaType.APPLICATION_JSON) @Path(ResourceDefinitions.Path.TelevisionShows.SERIES_FULL_PATH) @Timed(name = MediaService.MetricsDefinitions.GetSeries.TIMER_NAME, displayName = METRICS_PREFIX + '.' + MediaService.MetricsDefinitions.GetSeries.TIMER_NAME, description = "Given a series title, return television show episodes for the entire series from the media library.") public Multi<TelevisionShow> getSeries( @PathParam(ResourceDefinitions.Path.TelevisionShows.SERIES_TITLE_PARAMETER) String seriesTitle) { getLogger().debug("Invoking getSeries... Series title: {}", seriesTitle); return createResponse(getMediaService().getSeries(seriesTitle)); }  @GET @Produces(MediaType.APPLICATION_JSON) @Path(ResourceDefinitions.Path.Common.ALL_PATH) @Timed(name = MediaService.MetricsDefinitions.GetTelevisionShows.TIMER_NAME, displayName = METRICS_PREFIX + '.' + MediaService.MetricsDefinitions.GetTelevisionShows.TIMER_NAME, description = "Return all television shows stored in the media library.") Multi<TelevisionShow> getTelevisionShows(); @GET @Produces(MediaType.APPLICATION_JSON) @Path(ResourceDefinitions.Path.Common.SEARCH_FULL_PATH) @Timed(name = MediaService.MetricsDefinitions.SearchTelevisionShows.TIMER_NAME, displayName = METRICS_PREFIX + '.' + MediaService.MetricsDefinitions.SearchTelevisionShows.TIMER_NAME, description = "Perform a case insensitive text search of television shows in the media library.") Multi<TelevisionShow> searchTelevisionShows(
      @PathParam(ResourceDefinitions.SEARCH_TEXT_PARAMETER) String searchText); @GET @Produces(MediaType.APPLICATION_JSON) @Path(ResourceDefinitions.Path.TelevisionShows.SERIES_FULL_PATH) @Timed(name = MediaService.MetricsDefinitions.GetSeries.TIMER_NAME, displayName = METRICS_PREFIX + '.' + MediaService.MetricsDefinitions.GetSeries.TIMER_NAME, description = "Given a series title, return television show episodes for the entire series from the media library.") Multi<TelevisionShow> getSeries(
      @PathParam(ResourceDefinitions.Path.TelevisionShows.SERIES_TITLE_PARAMETER) String seriesTitle); @GET @Produces(MediaType.APPLICATION_JSON) @Path(ResourceDefinitions.Path.TelevisionShows.EPISODES_FULL_PATH) @Timed(name = MediaService.MetricsDefinitions.GetEpisodes.TIMER_NAME, displayName = METRICS_PREFIX + '.' + MediaService.MetricsDefinitions.GetEpisodes.TIMER_NAME, description = "Given a series title and season, return the television show episodes from the media library.") Multi<TelevisionShow> getEpisodes(
      @PathParam(ResourceDefinitions.Path.TelevisionShows.SERIES_TITLE_PARAMETER) String seriesTitle,
      @PathParam(ResourceDefinitions.Path.TelevisionShows.SEASON_PARAMETER) int season);  }### Answer:
@Test public void testGetSeries() throws IOException { Client client = ClientBuilder.newClient(); WebTarget target = client.target( TELEVISION_SHOWS_PATH + ResourceDefinitions.Path.TelevisionShows.SERIES_PATH + "/batman"); List<TelevisionShow> shows = getResponseResult(target); client.close(); assertEquals(120, shows.size()); }