File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,20 @@ public function it_has_directory_not_empty_assertion()
1414 $ this ->assertDirectoryNotEmpty (__DIR__ . '/FilesystemAssertsTest/NotEmpty ' );
1515 $ this ->assertDirectoryNotEmpty (__DIR__ . '/FilesystemAssertsTest/WithSubDirectory ' );
1616 }
17+
18+ /** @test */
19+ public function it_has_files_count_assertion ()
20+ {
21+ $ this ->assertFilesCount (__DIR__ . '/FilesystemAssertsTest/NotEmpty ' , 3 );
22+ $ this ->assertFilesCount (__DIR__ . '/FilesystemAssertsTest/WithSubDirectory ' , 0 );
23+ }
24+
25+ /** @test */
26+ public function it_has_not_files_count_assertion ()
27+ {
28+ $ this ->assertNotFilesCount (__DIR__ . '/FilesystemAssertsTest/NotEmpty ' , 1 );
29+ $ this ->assertNotFilesCount (__DIR__ . '/FilesystemAssertsTest/NotEmpty ' , 2 );
30+ $ this ->assertNotFilesCount (__DIR__ . '/FilesystemAssertsTest/NotEmpty ' , 4 );
31+ $ this ->assertNotFilesCount (__DIR__ . '/FilesystemAssertsTest/NotEmpty ' , 5 );
32+ }
1733}
You can’t perform that action at this time.
0 commit comments