@Test
void uploadFile() throws Exception {

    String result = mockMvc.perform(multipart("/framework/file")
            .file(new MockMultipartFile(
                    "file", "test.txt",
                    MediaType.MULTIPART_FORM_DATA_VALUE, "Hello File".getBytes()))
            .contentType(MediaType.MULTIPART_FORM_DATA))
            .andExpect(status().isOk())
            .andReturn().getResponse().getContentAsString();
    log.info(result);
}