Replace assertions of hasSize(0) with isEmpty()

Change-Id: I94b11afec7e16a4bf5b7e38238ec94faabd3e921
This commit is contained in:
David Pursehouse
2019-09-19 09:51:32 +09:00
parent 35da932df6
commit cb21cfd12d
4 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ public final class AuditLogReaderTest extends AbstractGroupTest {
@Test
public void createGroupAsServerIdent() throws Exception {
InternalGroup group = createGroup(1, "test-group", serverIdent, null);
assertThat(auditLogReader.getMembersAudit(allUsersRepo, group.getGroupUUID())).hasSize(0);
assertThat(auditLogReader.getMembersAudit(allUsersRepo, group.getGroupUUID())).isEmpty();
}
@Test