/**
  * setting and retrieving owner group of a file
  *
  * @test
  * @group  permissions
  */
 public function group()
 {
     $this->assertEquals(vfsStream::getCurrentGroup(), $this->dir->getGroup());
     $this->assertTrue($this->dir->isOwnedByGroup(vfsStream::getCurrentGroup()));
     $this->assertSame($this->dir, $this->dir->chgrp(vfsStream::GROUP_USER_1));
     $this->assertEquals(vfsStream::GROUP_USER_1, $this->dir->getGroup());
     $this->assertTrue($this->dir->isOwnedByGroup(vfsStream::GROUP_USER_1));
 }