@Test
public void getContentTypeShouldGetContentTypeFromParamConfig(){

    Map<String,Object> metaDatas = Collections.singletonMap("multipart.content-type", (Object)"expected");
    ParamConfig paramConfig = mock(ParamConfig.class);
    when(paramConfig.getMetaDatas()).thenReturn(metaDatas);
    assertEquals("expected", MultiParts.getContentType(paramConfig));
}