abstract class Assert extends Assert (View source)
static void | assertArraySubset(ArrayAccess|array $subset, ArrayAccess|array $array, bool $checkForIdentity = false, string $msg = '') Asserts that an array has a specified subset. | |
static void | assertFileDoesNotExist(string $filename, string $message = '') Asserts that a file does not exist. | |
static void | assertDirectoryDoesNotExist(string $directory, string $message = '') Asserts that a directory does not exist. | |
static void | assertMatchesRegularExpression(string $pattern, string $string, string $message = '') Asserts that a string matches a given regular expression. |
Asserts that an array has a specified subset.
Asserts that a file does not exist.
Asserts that a directory does not exist.
Asserts that a string matches a given regular expression.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Testing/Assert.html