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