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);
}