Skip to content

Commit cfadbc8

Browse files
committed
ITT: FilesystemAsserts readme info added.
1 parent eeec543 commit cfadbc8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,22 @@ Checks if specified directory is not empty:
289289
$this->assertDirectoryNotEmpty('./some/folder');
290290
```
291291
292+
#### `assertFilesCount()`
293+
294+
Checks if specified directory has specified number of files:
295+
296+
```php
297+
$this->assertFilesCount('./some/folder', 3);
298+
```
299+
300+
#### `assertNotFilesCount()`
301+
302+
Checks if specified directory not has specified number of files:
303+
304+
```php
305+
$this->assertNotFilesCount('./some/folder', 5);
306+
```
307+
292308
### LogFileAsserts
293309
294310
#### `assertLogFileExists()`

0 commit comments

Comments
 (0)