List of usage examples for com.google.common.collect ImmutableSortedSet containsAll
@Override public boolean containsAll(Collection<?> targets)
From source file:org.cyclop.test.ValidationHelper.java
public void verifyFullAndMinCompletionTheSame(ContextCqlCompletion completion, int minSize) { assertNotNull(completion);/*from ww w .j ava 2 s .c o m*/ ImmutableSortedSet<? extends CqlPart> fullCompletion = completion.cqlCompletion.fullCompletion; assertNotNull(fullCompletion); ImmutableSortedSet<? extends CqlPart> minCompletion = completion.cqlCompletion.minCompletion; assertNotNull(minCompletion); assertEquals(fullCompletion.size(), minCompletion.size()); assertTrue(fullCompletion + " - " + minCompletion, fullCompletion.containsAll(minCompletion)); assertTrue(minCompletion.size() + ">" + minSize, minCompletion.size() >= minSize); }