Fatal error: Uncaught Error: Class 'PHPUnit\Framework\Constraint\Constraint' not found in C:\xampp\htdocs\admin\vendor\laravel\framework\src\Illuminate\Testing\Constraints\HasInDatabase.php:9 Stack trace: #0 {main} thrown in C:\xampp\htdocs\admin\vendor\laravel\framework\src\Illuminate\Testing\Constraints\HasInDatabase.php on line 9