public void hasSize(int size) {
    new IterableChecker<>(ImmutableList.copyOf(actualValue), negate).verifyUsingMatcher(Matchers.hasSize(size));
  }
The iterable match wrapper.
@param <Z> the generic type
@param <T> the generic type
testing/src/org/immutables/check/IterableChecker.java