expectException(Psl\Exception\InvariantViolationException::class); $this->expectExceptionMessage('Expected a non-empty iterable.'); Iter\random([]); } }