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

ConfigurationExceptionTest   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 testThrow() 0 4 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\Exception;
12
13
use SimplePie\Exception\ConfigurationException;
14
use SimplePie\Test\Unit\AbstractTestCase;
15
16
class ConfigurationExceptionTest extends AbstractTestCase
17
{
18
    /**
19
     * @expectedException \SimplePie\Exception\ConfigurationException
20
     * @expectedExceptionMessage This is a test message.
21
     */
22
    public function testThrow(): void
23
    {
24
        throw new ConfigurationException('This is a test message.');
25
    }
26
}
27