Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiRemoveDirPartial::testApiRemoveDir_RemovesDir_WhenNodeIsDirectory PHP Метод

testApiRemoveDir_RemovesDir_WhenNodeIsDirectory() публичный Метод

    public function testApiRemoveDir_RemovesDir_WhenNodeIsDirectory()
    {
        $test = $this->getTest();
        $fs = $this->createFilesystem();
        $pc = $this->getPrefixed('FILE_C');
        $d = $this->getPrefixed('DIR_A');
        $test->assertTrue($fs->exists($pc));
        $test->assertTrue($fs->exists($d));
        $fs->removeDir($d);
        $test->assertFalse($fs->exists($pc));
        $test->assertFalse($fs->exists($d));
    }