You are here

public function vfsStreamUmaskTestCase::createFileWithDefaultUmaskSetting in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamUmaskTestCase.php \org\bovigo\vfs\vfsStreamUmaskTestCase::createFileWithDefaultUmaskSetting()

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamUmaskTestCase.php, line 65

Class

vfsStreamUmaskTestCase
Test for umask settings.

Namespace

org\bovigo\vfs

Code

public function createFileWithDefaultUmaskSetting() {
  $file = new vfsStreamFile('foo');
  $this
    ->assertEquals(0666, $file
    ->getPermissions());
}