public function testApiGetExtension_ReturnsExtension_WhenNodeIsFile() { $test = $this->getTest(); $fs = $this->createFilesystem(); $p = $this->getPrefixed('FILE_A'); $ext = pathinfo($this->getFullPath('FILE_A'), PATHINFO_EXTENSION); $test->assertSame($ext, $fs->getExtension($p)); }