/** * @expectedException Base\File\Exception */ public function testChangeFilePermissions() { $tmpFile = new File($this->getFilePath()); $tmpFile->setFilePermission('hsdjd'); }