docs: public static void hasSize(Collection<?> input, int length, String message) {
  
      notNull(input, message);
      if (input.size() != length) {
        throw new IllegalArgumentException(message);
      }
    }