Kraken\_Module\Filesystem\_Partial\Filesystem\FsApiWritePartial::testApiWrite_ThrowsException_WhenNodeDoesNotExist PHP Method

testApiWrite_ThrowsException_WhenNodeDoesNotExist() public method

    public function testApiWrite_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->write($dest, $text);
    }