Completed
Push — master ( 2ecd31...cc396e )
by Chad
9s
created

ConfigurationExceptionTest::basicUsage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace TraderInteractiveTest\Exceptions;
4
5
use PHPUnit\Framework\TestCase;
6
use TraderInteractive\Exceptions\ConfigurationException;
7
8
/**
9
 * @coversDefaultClass \TraderInteractive\Exceptions\ConfigurationException
10
 */
11
final class ConfigurationExceptionTest extends TestCase
12
{
13
    /**
14
     * @test
15
     *
16
     * @return void
17
     */
18
    public function basicUsage()
19
    {
20
        $expected = 'There is something wrong here...';
21
        $exception = new ConfigurationException($expected);
22
23
        $actual = $exception->getMessage();
24
        $this->assertSame($expected, $actual);
25
    }
26
}
27