public function testGetParentFile() { $myFile2 = new LocalFile(TESTS_FSI_LOCALFILE_TMP_PATH . '/myDir/myFile2.ext'); $this->assertTrue($this->fixture_dir->equals($myFile2->getParentFile())); $myRoot = new LocalFile('/'); $this->assertTrue($myRoot->equals($myRoot->getParentFile())); }