public void onUpload(long transferred, long total) {
        assertEquals(file.length(), total);
        assertEquals(tx.incrementAndGet(), transferred);
      }
Verify progress callback when sending a file

@throws Exception
lib/src/test/java/com/github/kevinsawicki/http/HttpRequestTest.java