diff --git a/src/ArchPresets/Laravel.php b/src/ArchPresets/Laravel.php index 132600fe..8be49d1d 100644 --- a/src/ArchPresets/Laravel.php +++ b/src/ArchPresets/Laravel.php @@ -56,5 +56,10 @@ final class Laravel extends AbstractPreset $this->expectations[] = expect('App\Notifications') ->toHaveConstructor() ->toExtend('Illuminate\Notifications\Notification'); + + $this->expectations[] = expect('App\Providers') + ->toHaveSuffix('ServiceProvider') + ->toExtend('Illuminate\Support\ServiceProvider') + ->not->toBeUsed(); } }