request.param("extAction", "uploadService");
request.param("extMethod", "upload");
request.param("extType", "rpc");
request.param("result", "theResult");
request.file("fileUpload", "the content of the file".getBytes());
MvcResult resultMvc = mockMvc.perform(request).andExpect(status().isOk())
.andExpect(content().contentType("text/html;charset=UTF-8"))
.andExpect(content().encoding("UTF-8")).andReturn();