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