public function testGetName() { $this->assertEquals("IO", (string) $this->dir->getName()); $this->assertEquals("IO", (string) $this->dirAbs->getName()); $this->assertEquals("FileTest.php", (string) $this->file->getName()); $this->assertEquals("FileTest.php", (string) $this->fileAbs->getName()); $this->assertEquals("composer.json", (string) $this->fileRoot->getName()); }