@Test
public void testGetUploadPartUrl() throws B2Exception {

    final B2GetUploadPartUrlRequest request = B2GetUploadPartUrlRequest.builder(bucketId(1)).build();
    final B2UploadPartUrlResponse response = new B2UploadPartUrlResponse(bucketId(1), "uploadUrl", "uploadAuthToken");
    when(webifier.getUploadPartUrl(anyObject(), eq(request))).thenReturn(response);
    assertTrue(response == client.getUploadPartUrl(request));
    verify(webifier, times(1)).authorizeAccount(anyObject());
    verify(webifier, times(1)).getUploadPartUrl(anyObject(), anyObject());
}