Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class ExceptionTest extends \PHPUnit\Framework\TestCase |
||
12 | { |
||
13 | private $object; |
||
14 | |||
15 | |||
16 | protected function setUp() : void |
||
17 | { |
||
18 | $this->object = new \Aimeos\Controller\Frontend\Exception( 'msg', 1, null, array( 'key' => 'value' ) ); |
||
19 | } |
||
20 | |||
21 | |||
22 | protected function tearDown() : void |
||
23 | { |
||
24 | } |
||
25 | |||
26 | |||
27 | public function testGetMessage() |
||
28 | { |
||
29 | $this->assertEquals( 'msg', $this->object->getMessage() ); |
||
30 | } |
||
31 | |||
32 | |||
33 | public function testGetCode() |
||
36 | } |
||
37 | |||
38 | |||
39 | public function testGetErrorList() |
||
44 |