### Question:
PetApi { public List<Pet> findPetsByTags(List<String> tags) throws RestClientException { Object postBody = null; if (tags == null) { throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'tags' when calling findPetsByTags"); } String path = UriComponentsBuilder.fromPath("/pet/findByTags").build().toUriString(); final MultiValueMap<String, String> queryParams = new LinkedMultiValueMap<String, String>(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap<String, Object> formParams = new LinkedMultiValueMap<String, Object>(); queryParams.putAll(apiClient.parameterToMultiValueMap(ApiClient.CollectionFormat.valueOf("multi".toUpperCase()), "tags", tags)); final String[] accepts = { "application/xml", "application/json" }; final List<MediaType> accept = apiClient.selectHeaderAccept(accepts); final String[] contentTypes = { }; final MediaType contentType = apiClient.selectHeaderContentType(contentTypes); String[] authNames = new String[] { "petstore_auth" }; ParameterizedTypeReference<List<Pet>> returnType = new ParameterizedTypeReference<List<Pet>>() {}; return apiClient.invokeAPI(path, HttpMethod.GET, queryParams, postBody, headerParams, formParams, accept, contentType, authNames, returnType); } PetApi(); @Autowired  PetApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); void addPet(Pet body); void deletePet(Long petId, String apiKey); List<Pet> findPetsByStatus(List<String> status); List<Pet> findPetsByTags(List<String> tags); Pet getPetById(Long petId); void updatePet(Pet body); void updatePetWithForm(Long petId, String name, String status); ModelApiResponse uploadFile(Long petId, String additionalMetadata, File file);  }### Answer:
@Test public void findPetsByTagsTest() { List<String> tags = null; List<Pet> response = api.findPetsByTags(tags); }