Example #1
0
 public function testRemoveId()
 {
     $this->query->clearIds();
     $this->query->addIds(array('id1', 'id2'));
     $this->query->removeId('id1');
     $this->assertEquals(array('id2'), $this->query->getIds());
 }