@RequestBody List<MultipartFile> documents integration test

@PostMapping(value = "/{documentType}/list", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
public ResponseEntity<Void> uploadListOfDocuments(@ApiParam(hidden = true) @RequestAttribute(SharedConstants.USER_ID_ATTRIBUTE) Long userId,
                                                      @PathVariable DocumentType documentType,
                                                      @RequestPart List&lt;MultipartFile&gt; documents) {
     documentGatewayService.uploadListOfDocuments(documents, documentType, userId);
     return ResponseEntity.ok().build();
}