### Question:
PermissionsApi { public List<GetPermissionsResponse> retrieveAllPermissions() throws ApiException { ApiResponse<List<GetPermissionsResponse>> resp = retrieveAllPermissionsWithHttpInfo(); return resp.getData(); } PermissionsApi();  PermissionsApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); com.squareup.okhttp.Call retrieveAllPermissionsCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); List<GetPermissionsResponse> retrieveAllPermissions(); ApiResponse<List<GetPermissionsResponse>> retrieveAllPermissionsWithHttpInfo(); com.squareup.okhttp.Call retrieveAllPermissionsAsync(final ApiCallback<List<GetPermissionsResponse>> callback); com.squareup.okhttp.Call updatePermissionsDetailsCall(PutPermissionsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); CommandProcessingResult updatePermissionsDetails(PutPermissionsRequest body); ApiResponse<CommandProcessingResult> updatePermissionsDetailsWithHttpInfo(PutPermissionsRequest body); com.squareup.okhttp.Call updatePermissionsDetailsAsync(PutPermissionsRequest body, final ApiCallback<CommandProcessingResult> callback);  }### Answer:
@Test public void retrieveAllPermissionsTest() throws ApiException { List<GetPermissionsResponse> response = api.retrieveAllPermissions(); }