public function testRemoveItem() { $batchDir = $this->getTmpDir(__METHOD__); $file = new File('.selection', $batchDir); $file->addItems(array('xxx', 'yyy', 'zzz')); $file->removeItem('xxx'); $this->assertEquals(array('yyy', 'zzz'), $file->getItems()); }