diff --git a/core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php b/core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
index 644371e..ef30877 100644
--- a/core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
+++ b/core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
@@ -76,11 +76,16 @@ public function testSuccessfulCopies() {
 
   /**
    * Test successful file reuse.
+   *
+   * @dataProvider sourceAndDestinationPathProvider
+   *
+   * @param string $source_path
+   * @param string $destination_path
    */
-  public function testSuccessfulReuse() {
-    $source_path = $this->root . '/core/modules/simpletest/files/image-test.jpg';
-    $destination_path = 'public://file1.jpg';
-    $file_reuse = file_unmanaged_copy($source_path, $destination_path);
+  public function testSuccessfulReuse($source_path, $destination_path) {
+    $file_reuse = $this->doTransform($source_path, $destination_path);
+    clearstatcache(TRUE, $destination_path);
+
     $timestamp = (new \SplFileInfo($file_reuse))->getMTime();
     $this->assertInternalType('int', $timestamp);
 
@@ -101,6 +106,24 @@ public function testSuccessfulReuse() {
   }
 
   /**
+   * Provides the source and destination path files.
+   *
+   * @return array
+   */
+  public function sourceAndDestinationPathProvider() {
+    return [
+      [
+        'local_source_path' => static::getDrupalRoot() . '/core/modules/simpletest/files/image-test.jpg',
+        'local_destination_path' => 'public://file1.jpg'
+      ],
+      [
+        'remote_source_path' => 'https://www.drupal.org/favicon.ico',
+        'remote_destination_path' => 'public://file2.jpg'
+      ],
+    ];
+  }
+
+  /**
    * Test successful moves.
    */
   public function testSuccessfulMoves() {
