public function testApiEraseDir_ErasesDir_WhenNodeIsDirectory()
{
$test = $this->getTest();
$fs = $this->createFilesystem();
$pc = $this->getPrefixed('FILE_C');
$d = $this->getPrefixed('DIR_A');
$test->assertTrue($fs->exists($pc));
$test->assertTrue($fs->exists($d));
$fs->eraseDir($d);
$test->assertFalse($fs->exists($pc));
$test->assertTrue($fs->exists($d));
}