public function shouldThrowExceptionIfFirstCalledForEmptyIterator()
{
//given
$iterator = FluentIterator::fromArray(array());
// when
CatchException::when($iterator)->first();
// then
CatchException::assertThat()->isInstanceOf('\\InvalidArgumentException');
}