title: Multipart with format other than CSV not able to find file on classpath
body: <p>I have file names test.csv ,test.xml ,test.text on my classpath(src/main/resources) folder.</p>
  
  <p>I  am creating Mutlipart for my Junit test case as follows :</p>
  
  <pre><code>MultipartFile multipartFile = new MockMultipartFile("test.csv","test.csv","text/csv",
                  new FileInputStream(new File("test.csv")));
  </code></pre>
  
  <p>This is working fine.</p>
  
  <p>However when I am trying below code for XMl,it gives FileNotFoundException.</p>
  
  <pre><code>MultipartFile multipartFile = new MockMultipartFile("test.xml","test.xml","text/xml",
                      new FileInputStream(new File("test.xml")));
  </code></pre>
  
  <p>Can anyone pls let me know,what can be issue?</p>