Example #1
0
 public function testRemoveItems()
 {
     $batchDir = $this->getTmpDir(__METHOD__);
     $file = new File('.selection', $batchDir);
     $file->addItems(array('xxx', 'yyy', 'zzz'));
     $file->removeItems(array('xxx', 'yyy'));
     $this->assertEquals(array('zzz'), $file->getItems());
 }