<?php

declare(strict_types=1);

namespace DontTest\Exception;

use Dont\Exception\ExceptionInterface;
use PHPUnit\Framework\TestCase;
use Throwable;

/**
 * @covers \Dont\Exception\ExceptionInterface
 */
final class ExceptionInterfaceTest extends TestCase
{
    public function testIsThrowable() : void
    {
        self::assertSame(
            [Throwable::class],
            (new \ReflectionClass(ExceptionInterface::class))->getInterfaceNames()
        );
    }

    public function testIsInterface() : void
    {
        self::assertTrue(interface_exists(ExceptionInterface::class));
    }
}

<?php

declare(strict_types=1);

namespace DontTest\Exception;

use Dont\Exception\ExceptionInterface;
use PHPUnit\Framework\TestCase;
use Throwable;

/**
 * @coversNothing
 */
final class ExceptionInterfaceTest extends TestCase
{
    public function testIsThrowable() : void
    {
        self::assertSame(
            [Throwable::class],
            (new \ReflectionClass(ExceptionInterface::class))->getInterfaceNames()
        );
    }

    public function testIsInterface() : void
    {
        self::assertTrue(interface_exists(ExceptionInterface::class));
    }
}

Fix warning of covered interface
Fix warning of covered interface
