### Question:
UserGeneratedDocumentsApi { public PostTemplatesResponse createTemplate(PostTemplatesRequest body) throws ApiException { ApiResponse<PostTemplatesResponse> resp = createTemplateWithHttpInfo(body); return resp.getData(); } UserGeneratedDocumentsApi();  UserGeneratedDocumentsApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); com.squareup.okhttp.Call createTemplateCall(PostTemplatesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); PostTemplatesResponse createTemplate(PostTemplatesRequest body); ApiResponse<PostTemplatesResponse> createTemplateWithHttpInfo(PostTemplatesRequest body); com.squareup.okhttp.Call createTemplateAsync(PostTemplatesRequest body, final ApiCallback<PostTemplatesResponse> callback); com.squareup.okhttp.Call deleteTemplateCall(Long templateId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); DeleteTemplatesTemplateIdResponse deleteTemplate(Long templateId); ApiResponse<DeleteTemplatesTemplateIdResponse> deleteTemplateWithHttpInfo(Long templateId); com.squareup.okhttp.Call deleteTemplateAsync(Long templateId, final ApiCallback<DeleteTemplatesTemplateIdResponse> callback); com.squareup.okhttp.Call getTemplateByTemplateCall(Long templateId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); String getTemplateByTemplate(Long templateId); ApiResponse<String> getTemplateByTemplateWithHttpInfo(Long templateId); com.squareup.okhttp.Call getTemplateByTemplateAsync(Long templateId, final ApiCallback<String> callback); com.squareup.okhttp.Call mergeTemplateCall(Long templateId, String body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); String mergeTemplate(Long templateId, String body); ApiResponse<String> mergeTemplateWithHttpInfo(Long templateId, String body); com.squareup.okhttp.Call mergeTemplateAsync(Long templateId, String body, final ApiCallback<String> callback); com.squareup.okhttp.Call retrieveAllCall(Integer typeId, Integer entityId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); GetTemplatesResponse retrieveAll(Integer typeId, Integer entityId); ApiResponse<GetTemplatesResponse> retrieveAllWithHttpInfo(Integer typeId, Integer entityId); com.squareup.okhttp.Call retrieveAllAsync(Integer typeId, Integer entityId, final ApiCallback<GetTemplatesResponse> callback); com.squareup.okhttp.Call retrieveOneCall(Long templateId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); GetTemplatesTemplateIdResponse retrieveOne(Long templateId); ApiResponse<GetTemplatesTemplateIdResponse> retrieveOneWithHttpInfo(Long templateId); com.squareup.okhttp.Call retrieveOneAsync(Long templateId, final ApiCallback<GetTemplatesTemplateIdResponse> callback); com.squareup.okhttp.Call saveTemplateCall(Long templateId, PutTemplatesTemplateIdRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); PutTemplatesTemplateIdResponse saveTemplate(Long templateId, PutTemplatesTemplateIdRequest body); ApiResponse<PutTemplatesTemplateIdResponse> saveTemplateWithHttpInfo(Long templateId, PutTemplatesTemplateIdRequest body); com.squareup.okhttp.Call saveTemplateAsync(Long templateId, PutTemplatesTemplateIdRequest body, final ApiCallback<PutTemplatesTemplateIdResponse> callback); com.squareup.okhttp.Call templateCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener); GetTemplatesTemplateResponse template(); ApiResponse<GetTemplatesTemplateResponse> templateWithHttpInfo(); com.squareup.okhttp.Call templateAsync(final ApiCallback<GetTemplatesTemplateResponse> callback);  }### Answer:
@Test public void createTemplateTest() throws ApiException { PostTemplatesRequest body = null; PostTemplatesResponse response = api.createTemplate(body); }