function it_does_not_positive_match_infinite_generator() { $this->shouldThrow(new FailureException('Expected traversable to have 10 items, but got more than that.'))->during('positiveMatch', ['haveCount', $this->createInifiteGenerator(), [10]]); }