예제 #1
0
 public function testRemoveFile()
 {
     $this->object->addFile(__DIR__ . '/fixtures/a.txt');
     $this->object->addFile(__DIR__ . '/fixtures/b.txt');
     $this->object->removeFile('a.txt');
     $expected = array(__DIR__ . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'b.txt');
     $this->assertEqualPaths($expected, $this->object->getFiles());
     $this->object->removeFiles(array(__DIR__ . '/fixtures/b.txt'));
 }