Completed
Push — master ( 90ad1a...d4b41d )
by Bryan
10:33
created

ExceptionTest::testException()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
c 0
b 0
f 0
rs 9.4285
nc 1
cc 1
eloc 3
nop 0
1
<?php
2
namespace Bhhaskin\WeatherBee\Tests\Exception;
3
4
use PHPUnit\Framework\TestCase;
5
use Bhhaskin\WeatherBee\Exception\Exception;
6
7
/**
8
 * @covers Bhhaskin\WeatherBee\Exception\Exception
9
 */
10
final class ExceptionTest extends TestCase
11
{
12
    public function testException()
13
    {
14
        $this->expectException(Exception::class);
15
        throw new Exception();
16
17
    }
18
}
19