title: How to give the multipart file input in junit
body: <p>I am using JUnit for testing of Daoimpl. In one of the cases, I need to give an input which is a multipart file. I searched the internet and found that mockmultipartfile is used, but didn't find any example. Please provide me one for better understanding.</p>
  <p>I am using <strong>spring</strong> and <strong>JUnit 4.11</strong></p>