packages/deriver/tests/Unit/Configuration/ReportFormatTest.php

1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\Configuration;
6
7use Deriver\Configuration\ReportFormat;
8use PHPUnit\Framework\Attributes\CoversClass;
9use PHPUnit\Framework\TestCase;
10
11#[CoversClass(ReportFormat::class)]
12final class ReportFormatTest extends TestCase
13{
14    public function testCasesDefineTheSupportedCommandFormats(): void
15    {
16        self::assertSame([ReportFormat::Text, ReportFormat::Json], ReportFormat::cases());
17    }
18}
19