/** * */ public function testRandom() { $arr = ['foo', 'bar', 'baz']; $this->assertTrue(in_array(Arr::random($arr), $arr)); }