<?php
declare(strict_types=1);

namespace Tests\FreshCloud\Mail\NetExceptions;

use FreshCloud\Mail\NetExceptions\TlsException;
use PHPUnit\Framework\TestCase;

final class TlsExceptionTest extends TestCase
{
    public function testExtendsNetworkException(): void
    {
        $exception = new TlsException('TLS error');
        $this->assertInstanceOf(TlsException::class, $exception);
        $this->assertInstanceOf(\RuntimeException::class, $exception);
    }
}