You are here

public function vfsStreamWrapperTestCase::groupIsCurrentGroupByDefault in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::groupIsCurrentGroupByDefault()

@test @group issue_11 @group permissions

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php, line 338

Class

vfsStreamWrapperTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function groupIsCurrentGroupByDefault() {
  $this
    ->assertEquals(vfsStream::getCurrentGroup(), filegroup($this->fooURL));
  $this
    ->assertEquals(vfsStream::getCurrentGroup(), filegroup($this->fooURL . '/.'));
  $this
    ->assertEquals(vfsStream::getCurrentGroup(), filegroup($this->barURL));
  $this
    ->assertEquals(vfsStream::getCurrentGroup(), filegroup($this->barURL . '/.'));
  $this
    ->assertEquals(vfsStream::getCurrentGroup(), filegroup($this->baz1URL));
  $this
    ->assertEquals(vfsStream::getCurrentGroup(), filegroup($this->baz2URL));
}