public function testApiCopy_CopiesNode_WhenNodeIsFileAndDestinationIsFile()
{
$test = $this->getTest();
$fs = $this->createFilesystem();
$pa = $this->getPrefixed('FILE_A');
$pb = $this->getPrefixed('FILE_B');
$test->setExpectedException(WriteException::class);
$test->assertTrue($fs->exists($pa));
$test->assertTrue($fs->exists($pb));
$fs->copy($pa, $pb);
}