title: How to write Restfuse HttpTest with MULTIPART_FORM_DATA?
body: <h2>I can not figure out, how to write the Rest Test. Please help me out.</h2>
  
  <p>I have a RestService:</p>
  
  <pre><code>@POST
  @Path("/insertDataInDB")
  @Consumes(MediaType.MULTIPART_FORM_DATA)
  public Response insertDataInDB(@FormDataParam("inputfile")
  MultipartFormDataInput inputfile) {
  
      do Stuff
  }
  </code></pre>
  
  <hr>
  
  <p>The Service works, i tested it with Chromes Rest Console.</p>
  
  <p>Request URI: </p>
  
  <pre><code>http://localhost:8080/persDB/rest/r/insertDataInDB
  </code></pre>
  
  <p>Content Type: </p>
  
  <pre><code>multipart/form-data
  </code></pre>
  
  <p>Attachements Files: </p>
  
  <pre><code>Test.xlsx 
  </code></pre>
  
  <p>Parameter Key: </p>
  
  <pre><code>inputfile
  </code></pre>
  
  <hr>
  
  <p><strong>How does the Rest Test look?</strong> I tried this <br/>
  <em>But i can't quite figure it out, where to put the parameter key etc.</em></p>
  
  <pre><code>@HttpTest(method = Method.POST, path = "persDB/rest/r/insertDataInDB", content = "{}", type = MediaType.MULTIPART_FORM_DATA, file = "inputfile.xlsx")
  public void insertDataInDB() { 
    do Stuff
  }
  </code></pre>
  
  <p>and i'm getting a java.io.IOException:</p>
  
  <pre><code>2014-02-04 16:01:30,825   [http-/0.0.0.0:8080-2] SEVERE org.jboss.resteasy.core.SynchronousDispatcher - Failed executing POST r/insertDataInDB: org.jboss.resteasy.spi.ReaderException: java.io.IOException: Unable to get boundary for multipart
  </code></pre>