vladahejda/phpunit-assert-exception
A PHPUnit helper that adds an assertException() assertion for testing exceptions thrown inside callbacks. Specify the expected exception class, message, and code in one concise call, reducing boilerplate and making exception tests clearer in PHP projects.
Assert exception/throwable/error PHPUnit trait
How can I help you explore Laravel packages today?