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