mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
feat(presets): add expectation for Laravel mail class
This commit is contained in:
@ -36,5 +36,9 @@ final class Laravel extends AbstractPreset
|
||||
|
||||
$this->expectations[] = expect('App\Exceptions')
|
||||
->toImplement('Throwable');
|
||||
|
||||
$this->expectations[] = expect('App\Mail')
|
||||
->toHaveConstructor()
|
||||
->toExtend('Illuminate\Mail\Mailable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user