8 calls to FileManagedUnitTestBase::assertDifferentFile()

CopyTest::testExistingError in core/modules/file/tests/src/Kernel/CopyTest.php
Tests that copying over an existing file fails when instructed to do so.
CopyTest::testExistingRename in core/modules/file/tests/src/Kernel/CopyTest.php
Tests renaming when copying over a file that already exists.
CopyTest::testExistingReplace in core/modules/file/tests/src/Kernel/CopyTest.php
Tests replacement when copying over a file that already exists.
CopyTest::testNormal in core/modules/file/tests/src/Kernel/CopyTest.php
Tests file copying in the normal, base case.
FileRepositoryTest::testExistingRename in core/modules/file/tests/src/Kernel/FileRepositoryTest.php
Tests writeData() when renaming around an existing file.
MoveTest::testExistingError in core/modules/file/tests/src/Kernel/MoveTest.php
Tests that moving onto an existing file fails when instructed to do so.
MoveTest::testExistingRename in core/modules/file/tests/src/Kernel/MoveTest.php
Tests renaming when moving onto a file that already exists.
MoveTest::testExistingReplace in core/modules/file/tests/src/Kernel/MoveTest.php
Tests replacement when moving onto a file that already exists.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.