Completed
Pull Request — master (#13)
by
unknown
03:54
created

ResponseViolationsTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A itShouldExtendConstraintViolations() 0 5 1
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