33namespace MultiTester \Tests ;
44
55use MultiTester \Directory ;
6- use PHPUnit \Framework \TestCase ;
76use ReflectionMethod ;
87
98class DirectoryTest extends TestCase
@@ -16,17 +15,17 @@ public function testDirectoryTools(): void
1615 $ this ->assertTrue ((new Directory (__DIR__ . '/dependency/vendor ' ))->copy ("$ testDirectory/dest " , ['bin ' ]));
1716
1817 $ this ->assertFileExists ("$ testDirectory/dest/my-org/my-project/readme.md " );
19- $ this ->assertFileNotExists ("$ testDirectory/dest/bin/program " );
18+ $ this ->assertFileDoesNotExist ("$ testDirectory/dest/bin/program " );
2019
2120 $ this ->assertTrue ((new Directory ("$ testDirectory/dest " ))->clean ());
2221
23- $ this ->assertFileNotExists ("$ testDirectory/dest/my-org/my-project/readme.md " );
22+ $ this ->assertFileDoesNotExist ("$ testDirectory/dest/my-org/my-project/readme.md " );
2423 $ this ->assertFileExists ("$ testDirectory/dest " );
2524
2625 $ this ->assertTrue ((new Directory ("$ testDirectory/dest " ))->remove ());
2726
28- $ this ->assertFileNotExists ("$ testDirectory/dest/my-org/my-project/readme.md " );
29- $ this ->assertFileNotExists ("$ testDirectory/dest " );
27+ $ this ->assertFileDoesNotExist ("$ testDirectory/dest/my-org/my-project/readme.md " );
28+ $ this ->assertFileDoesNotExist ("$ testDirectory/dest " );
3029
3130 $ this ->assertTrue ((new Directory ("$ testDirectory/dest/foo " ))->create ());
3231
@@ -43,7 +42,7 @@ public function testDirectoryTools(): void
4342
4443 $ this ->assertTrue ((new Directory ("$ testDirectory/dest/foo " ))->create ());
4544
46- $ this ->assertFileNotExists ("$ testDirectory/dest/foo/bar " );
45+ $ this ->assertFileDoesNotExist ("$ testDirectory/dest/foo/bar " );
4746
4847 touch ("$ testDirectory/dest/foo/bar " );
4948
@@ -57,7 +56,7 @@ public function testDirectoryTools(): void
5756
5857 $ this ->assertTrue ((new Directory ("$ testDirectory/dest " ))->remove ());
5958
60- $ this ->assertFileNotExists ("$ testDirectory/dest " );
59+ $ this ->assertFileDoesNotExist ("$ testDirectory/dest " );
6160
6261 mkdir ("$ testDirectory/dest/foo/bar/biz " , 0777 , true );
6362 touch ("$ testDirectory/dest/foo/bar/biz/bla " );
@@ -68,7 +67,7 @@ public function testDirectoryTools(): void
6867
6968 $ this ->assertTrue ((new Directory ($ testDirectory ))->remove ());
7069
71- $ this ->assertFileNotExists ($ testDirectory );
70+ $ this ->assertFileDoesNotExist ($ testDirectory );
7271 }
7372
7473 public function testCopyItem (): void
@@ -88,7 +87,7 @@ public function testCopyItem(): void
8887
8988 $ this ->assertTrue ((new Directory ($ testDirectory ))->remove ());
9089
91- $ this ->assertFileNotExists ($ testDirectory );
90+ $ this ->assertFileDoesNotExist ($ testDirectory );
9291 }
9392
9493 public function testCleanItem (): void
@@ -108,6 +107,6 @@ public function testCleanItem(): void
108107
109108 $ this ->assertTrue ((new Directory ($ testDirectory ))->remove ());
110109
111- $ this ->assertFileNotExists ($ testDirectory );
110+ $ this ->assertFileDoesNotExist ($ testDirectory );
112111 }
113112}
0 commit comments