public void onUpload(long transferred, long total) {
        assertEquals(-1, total);
        assertEquals(tx.incrementAndGet(), transferred);
      }
Verify progress callback when sending from a Reader

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