mirror of
https://github.com/Intervention/image.git
synced 2025-08-23 14:02:47 +02:00
23 lines
615 B
PHP
23 lines
615 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Intervention\Image\Tests\Unit\Drivers;
|
|
|
|
use Intervention\Image\Drivers\SpecializableDecoder;
|
|
use Intervention\Image\Exceptions\DecoderException;
|
|
use Intervention\Image\Tests\BaseTestCase;
|
|
use Mockery;
|
|
use PHPUnit\Framework\Attributes\CoversClass;
|
|
|
|
#[CoversClass(SpecializableDecoder::class)]
|
|
final class SpecializableDecoderTest extends BaseTestCase
|
|
{
|
|
public function testDecode(): void
|
|
{
|
|
$decoder = Mockery::mock(SpecializableDecoder::class)->makePartial();
|
|
$this->expectException(DecoderException::class);
|
|
$decoder->decode(null);
|
|
}
|
|
}
|