/** * Test the getExtension method */ public function testGetExtension(){ $file = new \Core\Filestore\Backends\FileLocal('core/tests/updater-testdocument.txt'); $this->assertEquals('txt', $file->getExtension()); }