public function testCopyUsesAcfFileUrl() { $acfFileUrl = 'file://' . __FILE__; $rfs = new RemoteFilesystem($acfFileUrl, $this->io); $file = tempnam(sys_get_temp_dir(), 'pb'); $this->assertTrue($rfs->copy('http://example.org', 'does-not-exist', $file)); $this->assertFileExists($file); unlink($file); }