public function testGetGroup() { $this->assertEquals(filegroup(TESTS_FSI_LOCALFILE_TMP_PATH . '/myFile.ext'), $this->fixture_file->getGroup()); $otherFile = new LocalFile(TESTS_FSI_LOCALFILE_TMP_PATH . '/myFile2.ext'); try { $otherFile->getGroup(); $this->fail(); } catch (EyeStatFailedException $e) { // normal situation } }