コード例 #1
0
ファイル: FileTest.php プロジェクト: kompakt/mediameister
 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());
 }