Conditions | 3 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function assertDefaultHandlers(Logger $logger) |
||
14 | { |
||
15 | $handlers = array(); |
||
16 | do { |
||
17 | try { |
||
18 | $handlers[] = $handler = $logger->popHandler(); |
||
19 | } catch (\Exception $e) { |
||
20 | } |
||
21 | } while (!isset($e)); |
||
22 | |||
23 | $this->assertSame(array(), $handlers, 'There are more handlers defined than should be'); |
||
24 | } |
||
51 |