mirror of
https://github.com/pestphp/pest.git
synced 2026-03-05 23:37:22 +01:00
13 lines
319 B
PHP
13 lines
319 B
PHP
<?php
|
|
|
|
it('may return a file path', function () {
|
|
$file = fixture('phpunit-in-isolation.xml');
|
|
|
|
expect($file)->toBeString()
|
|
->toBeFile();
|
|
});
|
|
|
|
it('may throw an exception if the file does not exist', function () {
|
|
fixture('file-that-does-not-exist.php');
|
|
})->throws(InvalidArgumentException::class);
|