Oh, actually it just tests that an exception occurs when iterating for the second time. Should I better use setExpectedException ?