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