/** * Tests Fs_Node::chown() for a non existent file */ public function testChown_NonExistent() { $file = new Fs_Dir('/does/not/exist.' . md5(uniqid())); $this->setExpectedException('Q\\Fs_Exception', "Unable to change owner of '{$file}' to user '0': File does not exist"); $file->chown(0); }