public function testApiSetPublic_SetsPublic_WhenDirectoryDoesExist_WhenNodeIsPublic()
{
$test = $this->getTest();
$fs = $this->createFilesystem();
$test->assertEquals(Filesystem::VISIBILITY_PUBLIC, $fs->getVisibility($this->getPrefixed('DIR_A')));
$fs->setPublic($this->getPrefixed('DIR_A'));
$test->assertEquals(Filesystem::VISIBILITY_PUBLIC, $fs->getVisibility($this->getPrefixed('DIR_A')));
}