### Question:
MoviesResource extends AbstractMediaResource<Movie> { @GET @Produces(MediaType.APPLICATION_JSON) @Path(ResourceDefinitions.Path.Common.SEARCH_FULL_PATH) @Timed(name = MediaService.MetricsDefinitions.SearchMovies.TIMER_NAME, displayName = METRICS_PREFIX + '.' + MediaService.MetricsDefinitions.SearchMovies.TIMER_NAME, description = MediaService.MetricsDefinitions.SearchMovies.TIMER_DESCRIPTION) public Multi<Movie> searchMovies( @PathParam(ResourceDefinitions.SEARCH_TEXT_PARAMETER) String searchText) { getLogger().debug("Invoking searchMovies... Search text: {}", searchText); return createResponse(getMediaService().searchMovies(searchText)); }  @GET @Produces(MediaType.APPLICATION_JSON) @Path(ResourceDefinitions.Path.Common.ALL_PATH) @Timed(name = MediaService.MetricsDefinitions.GetMovies.TIMER_NAME, displayName = METRICS_PREFIX + '.' + MediaService.MetricsDefinitions.GetMovies.TIMER_NAME, description = MediaService.MetricsDefinitions.GetMovies.TIMER_DESCRIPTION) Multi<Movie> getMovies(); @GET @Produces(MediaType.APPLICATION_JSON) @Path(ResourceDefinitions.Path.Common.SEARCH_FULL_PATH) @Timed(name = MediaService.MetricsDefinitions.SearchMovies.TIMER_NAME, displayName = METRICS_PREFIX + '.' + MediaService.MetricsDefinitions.SearchMovies.TIMER_NAME, description = MediaService.MetricsDefinitions.SearchMovies.TIMER_DESCRIPTION) Multi<Movie> searchMovies(
      @PathParam(ResourceDefinitions.SEARCH_TEXT_PARAMETER) String searchText);  }### Answer:
@Test public void testSearchMovies() throws IOException { Client client = ClientBuilder.newClient(); WebTarget target = client.target( MOVIES_PATH + ResourceDefinitions.Path.Common.SEARCH_PATH + "/star trek"); List<Movie> movies = getResponseResult(target); client.close(); assertEquals(13, movies.size()); }