Improve use of assertj

This commit is contained in:
Andrew Gaul 2014-07-01 22:00:14 -07:00
parent e104ef0a4c
commit c2cf837e46
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class GlacierClientLiveTest extends BaseApiLiveTest<GlacierClient>{
@Test(groups = { "integration", "live" }, dependsOnMethods = { "testCreateVault" })
public void testListMultipartUploadsWithEmptyList() throws Exception {
assertThat(api.listMultipartUploads(VAULT_NAME1)).hasSize(0);
assertThat(api.listMultipartUploads(VAULT_NAME1)).isEmpty();
}
@Test(groups = { "integration", "live" }, dependsOnMethods = { "testListMultipartUploadsWithEmptyList" })