public function testApiSetPrivate_SetsPrivate_WhenSettingIsPossible() { $path = 'path'; $this->expect('setVisibility', [$path, 'private'])->willReturn(true); $this->fs->setPrivate($path); }