We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c373fb commit 6d885b3Copy full SHA for 6d885b3
src/intTest/java/com/box/sdk/BoxFileIT.java
@@ -216,6 +216,9 @@ public void uploadAndDownloadFileSucceeds() throws IOException {
216
byte[] downloadedFileContent = downloadStream.toByteArray();
217
218
assertThat(downloadedFileContent, is(equalTo(fileContent)));
219
+ assertThat(folder, hasItem(Matchers.<BoxItem.Info>hasProperty("ID", equalTo(uploadedFile.getID()))));
220
+ verify(mockUploadListener, atLeastOnce()).onProgressChanged(anyLong(), longThat(is(equalTo(fileSize))));
221
+ verify(mockDownloadListener, atLeastOnce()).onProgressChanged(anyLong(), longThat(is(equalTo(fileSize))));
222
} finally {
223
deleteFile(uploadedFile);
224
}
0 commit comments