GatewayTimeoutTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testStatusCode() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace VM\ErrorHandler\Tests\Exceptions\Http;
6
7
use PHPUnit\Framework\TestCase;
8
use VM\ErrorHandler\Exceptions\Http\GatewayTimeout;
9
10
class GatewayTimeoutTest extends TestCase
11
{
12
    public function testStatusCode(): void
13
    {
14
        $exception = new GatewayTimeout();
15
        $this->assertEquals(GatewayTimeout::STATUS_GATEWAY_TIMEOUT, $exception->getHttpStatusCode());
16
    }
17
}
18