public function testApiEraseFile_ErasesNode_WhenNodeIsFile()
{
$test = $this->getTest();
$fs = $this->createFilesystem();
$p = $this->getPrefixed('FILE_A');
$contents = 'FILE_A_TEXT';
$test->assertTrue($fs->exists($p));
$test->assertEquals($contents, $fs->read($p));
$fs->eraseFile($p);
$test->assertEquals('', $fs->read($p));
}