public function testApiCopy_ThrowsException_WhenSourceDoesNotExist()
{
$test = $this->getTest();
$fs = $this->createFilesystem();
$pa = $this->getPrefixed('FILE_NULL');
$pb = $this->getPrefixed('NULL');
$test->setExpectedException(WriteException::class);
$test->assertFalse($fs->exists($pa));
$test->assertFalse($fs->exists($pb));
$fs->copy($pa, $pb);
}