@Test
public void calculatePartSize_nullConfig_shouldThrowException() {

    thrown.expect(NullPointerException.class);
    thrown.expectMessage("config");
    MultipartUtils.calculatePartSize(null, LARGE_ENOUGH_FOR_MULTIPART);
}