Added an alternative implementation of WINDUP-147

https://issues.jboss.org/browse/WINDUP-147
There is no .size() since it is an iterable(). Having said that, your point is still completely valid. This should just be an assert that .iterator().hasNext() returns false. I was a bit too literal when copying and pasting some other code.  Oops.