### Question:
PetApi { public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws RestClientException { return uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata).getBody(); } PetApi(); @Autowired  PetApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); void addPet(Pet body); ResponseEntity<Void> addPetWithHttpInfo(Pet body); void deletePet(Long petId, String apiKey); ResponseEntity<Void> deletePetWithHttpInfo(Long petId, String apiKey); List<Pet> findPetsByStatus(List<String> status); ResponseEntity<List<Pet>> findPetsByStatusWithHttpInfo(List<String> status); @Deprecated Set<Pet> findPetsByTags(Set<String> tags); @Deprecated ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(Set<String> tags); Pet getPetById(Long petId); ResponseEntity<Pet> getPetByIdWithHttpInfo(Long petId); void updatePet(Pet body); ResponseEntity<Void> updatePetWithHttpInfo(Pet body); void updatePetWithForm(Long petId, String name, String status); ResponseEntity<Void> updatePetWithFormWithHttpInfo(Long petId, String name, String status); ModelApiResponse uploadFile(Long petId, String additionalMetadata, File file); ResponseEntity<ModelApiResponse> uploadFileWithHttpInfo(Long petId, String additionalMetadata, File file); ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata); ResponseEntity<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(Long petId, File requiredFile, String additionalMetadata);  }### Answer:
@Test public void uploadFileWithRequiredFileTest() { Long petId = null; File requiredFile = null; String additionalMetadata = null; ModelApiResponse response = api.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata); }