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

ConfigurationExceptionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A basicUsage() 0 7 1
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