file

fun file(name: String, content: ByteArray): MockMultipartHttpServletRequestBuilder
fun file(file: MockMultipartFile): MockMultipartHttpServletRequestBuilder

See also

org.springframework.test.web.servlet.request.MockMultipartHttpServletRequestBuilder