@Test
public void hitException() throws Exception {

    final RuntimeException e = new RuntimeException("testing");
    adapter.hitException(e, 6);
    assertEquals("B2UploadProgress{partIndex=1, partCount=2, startByte=3, length=4, bytesSoFar=6, state=FAILED}",
            getProgressString());
}