create(['contact_email' => 'owner@example.com']); AdWallet::create(['tenant_id' => $tenant->id, 'balance_rub' => '100.00', 'frozen_rub' => '2500.00']); app(AdStopAllService::class)->stopAll($tenant->id); Mail::assertQueued( AdWalletLowBalanceNotification::class, fn ($mail) => $mail->hasTo($tenant->contact_email) ); }); it('skips mail (no crash) when tenant does not exist', function () { Mail::fake(); app(AdStopAllService::class)->stopAll(999999); Mail::assertNothingQueued(); });