### Question:
PetApi { public List<Pet> findPetsByStatus(List<String> status) throws ApiException { Object localVarPostBody = null; if (status == null) { throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus"); } String localVarPath = "/pet/findByStatus".replaceAll("\\{format\\}","json"); List<Pair> localVarQueryParams = new ArrayList<Pair>(); Map<String, String> localVarHeaderParams = new HashMap<String, String>(); Map<String, String> localVarCookieParams = new HashMap<String, String>(); Map<String, Object> localVarFormParams = new HashMap<String, Object>(); localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "status", status)); final String[] localVarAccepts = { "application/xml", "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "petstore_auth" }; GenericType<List<Pet>> localVarReturnType = new GenericType<List<Pet>>() {}; return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } PetApi();  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); @Deprecated Set<Pet> findPetsByTags(Set<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); ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata);  }### Answer:
@Test public void findPetsByStatusTest() throws ApiException { List<String> status = null; List<Pet> response = api.findPetsByStatus(status); }