feat(presets): add expectation for Laravel notification class

This commit is contained in:
Punyapal Shah
2024-06-10 21:47:12 +05:30
parent 7240250a15
commit 7144d6dfbd

View File

@ -52,5 +52,9 @@ final class Laravel extends AbstractPreset
$this->expectations[] = expect('App\Jobs') $this->expectations[] = expect('App\Jobs')
->toHaveMethod('handle') ->toHaveMethod('handle')
->toHaveConstructor(); ->toHaveConstructor();
$this->expectations[] = expect('App\Notifications')
->toHaveConstructor()
->toExtend('Illuminate\Notifications\Notification');
} }
} }