Ejemplo n.º 1
0
 public function testEquals()
 {
     $l1 = new ArrayList(array(1, 2, 3));
     $l2 = new ArrayList(array(1, 2, 3));
     $this->assertTrue($l1->equals($l2));
     $l2->add(4);
     $this->assertFalse($l1->equals($l2));
 }