Completed
Pull Request — master (#13)
by
unknown
02:14
created

itShouldExtendConstraintViolations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ElevenLabs\Api\Service\Tests\Exception;
6
7
use ElevenLabs\Api\Service\Exception\ConstraintViolations;
8
use ElevenLabs\Api\Service\Exception\ResponseViolations;
9
use PHPUnit\Framework\TestCase;
10
11
/**
12
 * Class ResponseViolationsTest.
13
 */
14
class ResponseViolationsTest extends TestCase
15
{
16
    /** @test */
17
    public function itShouldExtendConstraintViolations()
18
    {
19
        $exception = new ResponseViolations([]);
20
21
        $this->assertInstanceOf(ConstraintViolations::class, $exception);
22
    }
23
}
24