Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiEraseDirPartial::testApiEraseDir_ThrowsException_WhenNodeDoesNotExist PHP Method

testApiEraseDir_ThrowsException_WhenNodeDoesNotExist() public method

    public function testApiEraseDir_ThrowsException_WhenNodeDoesNotExist()
    {
        $test = $this->getTest();
        $fs = $this->createFilesystem();
        $null = $this->getPrefixed('NULL');
        $test->setExpectedException(WriteException::class);
        $test->assertFalse($fs->exists($null));
        $fs->eraseDir($null);
    }