Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiAppendPartial::testApiAppend_ThrowsException_WhenNodeDoesNotExist PHP Method

testApiAppend_ThrowsException_WhenNodeDoesNotExist() public method

    public function testApiAppend_ThrowsException_WhenNodeDoesNotExist()
    {
        $test = $this->getTest();
        $fs = $this->createFilesystem();
        $dest = $this->getPrefixed('NULL');
        $text = 'FILE_A_NEW_TEXT';
        $test->setExpectedException(WriteException::class);
        $test->assertFalse($fs->exists($dest));
        $fs->append($dest, $text);
    }