### Question:
SurveyApi { public List<GetSurveyResponse> retrieveSurveys() throws ApiException { ApiResponse<List<GetSurveyResponse>> resp = retrieveSurveysWithHttpInfo(); return resp.getData(); } SurveyApi();  SurveyApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); com.squareup.okhttp.Call createDatatableEntryCall(String surveyName, Long apptableId, PostSurveySurveyNameApptableIdRequest body2, String body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); PostSurveySurveyNameApptableIdResponse createDatatableEntry(String surveyName, Long apptableId, PostSurveySurveyNameApptableIdRequest body2, String body); ApiResponse<PostSurveySurveyNameApptableIdResponse> createDatatableEntryWithHttpInfo(String surveyName, Long apptableId, PostSurveySurveyNameApptableIdRequest body2, String body); com.squareup.okhttp.Call createDatatableEntryAsync(String surveyName, Long apptableId, PostSurveySurveyNameApptableIdRequest body2, String body, final ApiCallback<PostSurveySurveyNameApptableIdResponse> callback); com.squareup.okhttp.Call deleteDatatableEntriesCall(String surveyName, Long clientId, Long fulfilledId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); String deleteDatatableEntries(String surveyName, Long clientId, Long fulfilledId); ApiResponse<String> deleteDatatableEntriesWithHttpInfo(String surveyName, Long clientId, Long fulfilledId); com.squareup.okhttp.Call deleteDatatableEntriesAsync(String surveyName, Long clientId, Long fulfilledId, final ApiCallback<String> callback); com.squareup.okhttp.Call getClientSurveyOverviewCall(String surveyName, Long clientId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); String getClientSurveyOverview(String surveyName, Long clientId); ApiResponse<String> getClientSurveyOverviewWithHttpInfo(String surveyName, Long clientId); com.squareup.okhttp.Call getClientSurveyOverviewAsync(String surveyName, Long clientId, final ApiCallback<String> callback); com.squareup.okhttp.Call getSurveyEntryCall(String surveyName, Long clientId, Long entryId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); String getSurveyEntry(String surveyName, Long clientId, Long entryId); ApiResponse<String> getSurveyEntryWithHttpInfo(String surveyName, Long clientId, Long entryId); com.squareup.okhttp.Call getSurveyEntryAsync(String surveyName, Long clientId, Long entryId, final ApiCallback<String> callback); com.squareup.okhttp.Call registerCall(String surveyName, String apptable, String body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); String register(String surveyName, String apptable, String body); ApiResponse<String> registerWithHttpInfo(String surveyName, String apptable, String body); com.squareup.okhttp.Call registerAsync(String surveyName, String apptable, String body, final ApiCallback<String> callback); com.squareup.okhttp.Call retrieveSurveyCall(String surveyName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); GetSurveyResponse retrieveSurvey(String surveyName); ApiResponse<GetSurveyResponse> retrieveSurveyWithHttpInfo(String surveyName); com.squareup.okhttp.Call retrieveSurveyAsync(String surveyName, final ApiCallback<GetSurveyResponse> callback); com.squareup.okhttp.Call retrieveSurveysCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); List<GetSurveyResponse> retrieveSurveys(); ApiResponse<List<GetSurveyResponse>> retrieveSurveysWithHttpInfo(); com.squareup.okhttp.Call retrieveSurveysAsync(final ApiCallback<List<GetSurveyResponse>> callback);  }### Answer:
@Test public void retrieveSurveysTest() throws ApiException { List<GetSurveyResponse> response = api.retrieveSurveys(); }