Completed
Branch master (95b3ba)
by Ryan
28:02 queued 13:03
created

ErrorMessageTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testIntrospectKeys() 0 8 1
1
<?php
2
/**
3
 * Copyright (c) 2017 Ryan Parman <http://ryanparman.com>.
4
 * Copyright (c) 2017 Contributors.
5
 *
6
 * http://opensource.org/licenses/Apache2.0
7
 */
8
9
declare(strict_types=1);
10
11
namespace SimplePie\Test\Unit\Enum;
12
13
use SimplePie\Enum\ErrorMessage;
14
use SimplePie\Test\Unit\AbstractTestCase;
15
16
class ErrorMessageTest extends AbstractTestCase
17
{
18
    public function testIntrospectKeys(): void
19
    {
20
        $this->assertSame(ErrorMessage::introspectKeys(), [
21
            'LOGGER_NOT_PSR3',
22
            'MIDDLEWARE_NOT_HANDLERSTACK',
23
            'LIBXML_NOT_INTEGER',
24
        ]);
25
    }
26
}
27