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