Useful for testing application controllers that access multipart uploads.
The
MockMultipartFile can be used to populate these mock requests
with files.
author: Juergen Hoeller author: Eric Crampton since: 2.0 See Also:MockMultipartFile
Add a file to this request. The parameter name from the multipart
form is taken from the
MultipartFile.getName .
Parameters: file - multipart file to be added