public function testGetOwnerAndGroup() { $f = new File(__DIR__ . '/../tmp/access.txt'); $this->assertTrue(array_key_exists('name', $f->getOwner())); $this->assertTrue(array_key_exists('name', $f->getDirOwner())); $this->assertTrue(array_key_exists('name', $f->getGroup())); $this->assertTrue(array_key_exists('name', $f->getDirGroup())); $this->assertTrue(array_key_exists('name', $f->getUser())); }