Esempio n. 1
0
 public function testCanGetFirstValue()
 {
     $under1 = Arr::first($this->array);
     $under2 = Arr::first($this->arrayNumbers, 2);
     $this->assertEquals('bar', $under1);
     $this->assertEquals([1, 2], $under2);
 }