public function testApiCopyFile_ThrowsException_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->copyFile($pa, $pb);
}