excel upload corner cases while procssing + java + springboot code example
Example: test excel file java multipart
MultipartFile file = new MockMultipartFile("filename", "someTestFile.xls", "application/vnd.ms-excel", new ClassPathResource("someTestFile.xls").getInputStream());