Total Complexity | 7 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class ErrorHandlerBuilderTest extends TestCase |
||
9 | { |
||
10 | public function setUp() |
||
11 | { |
||
12 | $this->builder = new ErrorHandlerBuilder(); |
||
|
|||
13 | } |
||
14 | |||
15 | public function testGetErrorLevelMap() |
||
16 | { |
||
17 | $this->assertSame([], $this->builder->getErrorLevelMap()); |
||
18 | } |
||
19 | |||
20 | public function testSetErrorLevelMap() |
||
21 | { |
||
22 | $map = ['foo' => 'bar']; |
||
23 | |||
24 | $this->builder->setErrorLevelMap($map); |
||
25 | $this->assertSame($map, $this->builder->getErrorLevelMap()); |
||
26 | } |
||
27 | |||
28 | public function testGetExceptionLevel() |
||
31 | } |
||
32 | |||
33 | public function testSetExceptionLevel() |
||
37 | } |
||
38 | |||
39 | public function testGetFatalLevel() |
||
40 | { |
||
41 | $this->assertNull($this->builder->getFatalLevel()); |
||
42 | } |
||
43 | |||
44 | public function testSetFatalLevel() |
||
48 | } |
||
49 | } |
||
50 |