/** * Test creating a directory with specific permissions. * * @since 0.1.0 */ public function test_mkdir_mode() { $this->assertTrue($this->fs->mkdir('/test', 0777, 'test-user', 'test-group')); $this->assertTrue($this->fs->exists('/test')); $this->assertTrue($this->fs->is_dir('/test')); $this->assertEquals(0777, $this->fs->getchmod('/test')); $this->assertEquals('test-group', $this->fs->group('/test')); $this->assertEquals('test-user', $this->fs->owner('/test')); }