示例#1
0
 public function testContains()
 {
     $this->assertTrue($this->arrayCollection->contains($this->data[0]));
     $notExistObj = new Base();
     $notExistObj->setId(78979);
     $this->assertFalse($this->arrayCollection->contains($notExistObj));
 }