예제 #1
0
파일: ArrTest.php 프로젝트: laradic/support
 public function testCanGetSeveralRandomValue()
 {
     $array = Arr::random($this->arrayNumbers, 2);
     foreach ($array as $a) {
         $this->assertContains($a, $this->arrayNumbers);
     }
 }