Migrate from containsAllIn to containsAtLeastElementsIn.
The two behave identically, and containsAllIn is being removed.
More information:
go/containsall-lsc
Tested:
TAP --sample for global presubmit queue
@@ -85,7 +85,7 @@ public class TestAsserter {
List<String> javaLogLines = extractJavaMessages();
for (ImmutableList<String> javaLogLineSequence : testResult.javaLogLinesSequences()) {
- assertThat(javaLogLines).containsAllIn(javaLogLineSequence).inOrder();
+ assertThat(javaLogLines).containsAtLeastElementsIn(javaLogLineSequence).inOrder();
}
Iterable<String> allExpectedJavaLog = Iterables.concat(testResult.javaLogLinesSequences());
assertThat(javaLogLines).containsExactlyElementsIn(allExpectedJavaLog);
