<?php

namespace Tests\Support\Auth;

use App\Services\OtpMailerInterface;
use RuntimeException;

class FailingOtpMailer implements OtpMailerInterface
{
    public function send(string $toEmail, string $otp): void
    {
        throw new RuntimeException('SMTP connection refused');
    }

    public function isConfigured(): bool
    {
        return true;
    }
}
