Skip to content

Commit 601862c

Browse files
committed
ITT: FilesystemAsserts readme info added.
1 parent 6a60ba5 commit 601862c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,24 @@ Adds expectation that exception of the specified class, with specified message a
269269
$this->willSeeException(RuntimeException::class, 'Oops! Houston, we have a problem!');
270270
```
271271
272+
### FilesystemAsserts
273+
274+
#### `assertDirectoryEmpty()`
275+
276+
Checks if specified directory is empty:
277+
278+
```php
279+
$this->assertDirectoryEmpty('./some/folder');
280+
```
281+
282+
#### `assertDirectoryNotEmpty()`
283+
284+
Checks if specified directory is not empty:
285+
286+
```php
287+
$this->assertDirectoryNotEmpty('./some/folder');
288+
```
289+
272290
### LogFileAsserts
273291
274292
#### `assertLogFileExists()`

0 commit comments

Comments
 (0)