I mocked an iterator and set it up to return multiple values. The first call it should return true, the second false.
I used this as a reference: https://nsubstitute.