예제 #1
0
 public function testHas()
 {
     $collection = new Collection(['a' => 'x']);
     $this->assertTrue($collection->has('a'));
     $this->assertFalse($collection->has('b'));
 }