Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiRemoveFilePartial::testApiRemoveFile_RemovesNode_WhenNodeIsDirectory PHP Method

testApiRemoveFile_RemovesNode_WhenNodeIsDirectory() public method

    public function testApiRemoveFile_RemovesNode_WhenNodeIsDirectory()
    {
        $test = $this->getTest();
        $fs = $this->createFilesystem();
        $p = $this->getPrefixed('DIR_A');
        $test->setExpectedException(WriteException::class);
        $test->assertTrue($fs->exists($p));
        $fs->removeFile($p);
    }