@Test
public void testUploadFileWithExceptionGettingSrcLastModifiedMillis() throws B2Exception {

    final B2UploadFileRequest request = B2UploadFileRequest
            .builder(bucketId(1), fileName(1), B2ContentTypes.B2_AUTO, contentSourceWithExceptionInGetSrcLastModifiedMillis)
            .build();
    final B2UploadUrlResponse uploadUrl = uploadUrlResponse(bucketId(1), 1);
    thrown.expect(B2Exception.class);
    thrown.expectMessage("failed to get lastModified from source: java.io.IOException: testing!");
    webifier.uploadFile(uploadUrl, request);
}