예제 #1
0
 public function testRemoveAll()
 {
     // Remove the following lines when you implement this test.
     $list = new ArrayList();
     $list->add(1);
     $list->add(2);
     $this->assertTrue($this->object->removeAll($list));
     $this->assertTrue($this->object->count() == 8);
     $list = new ArrayList();
     $list->add(1);
     $list->add(7852);
     $this->assertFalse($this->object->removeAll($list));
     $this->assertTrue($this->object->count() == 8);
 }