alts: moved from containsAllOf to containsAtLeast

This commit is contained in:
Carl Mastrangelo 2019-05-01 13:50:50 -07:00 committed by GitHub
parent f4fb7b40c5
commit e8be55e56f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ public final class AltsClientOptionsTest {
.build();
assertThat(options.getTargetName()).isEqualTo(targetName);
assertThat(options.getTargetServiceAccounts()).containsAllOf(serviceAccount1, serviceAccount2);
assertThat(options.getTargetServiceAccounts())
.containsAtLeast(serviceAccount1, serviceAccount2);
assertThat(options.getRpcProtocolVersions()).isEqualTo(rpcVersions);
}
}