@Test
public void toMetaDatasShouldReturnAMetaDataMapWithGivenMultiPartInfos(){

    Map<String,Object> metaDatas = MultiParts.toMetaDatas("contentType", "fileName");
    assertEquals("contentType", metaDatas.get("multipart.content-type"));
    assertEquals("fileName", metaDatas.get("multipart.filename"));
    assertTrue((Boolean)metaDatas.get("multipart.flag"));
}