diff --git a/src/ArchPresets/Laravel.php b/src/ArchPresets/Laravel.php index 26e706a9..21826786 100644 --- a/src/ArchPresets/Laravel.php +++ b/src/ArchPresets/Laravel.php @@ -166,5 +166,11 @@ public function execute(): void $this->expectations[] = expect('App\Policies') ->classes() ->toHaveSuffix('Policy'); + + $this->expectations[] = expect('App\Attributes') + ->classes() + ->toImplement('Illuminate\Contracts\Container\ContextualAttribute') + ->toHaveAttribute('Attribute') + ->toHaveMethod('resolve'); } }