| Conditions | 2 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function testConfigurationException() |
||
| 35 | { |
||
| 36 | try { |
||
| 37 | throw new ConfigurationException('instance', 'Configuration error'); |
||
| 38 | } catch (ConfigurationException $e) { |
||
| 39 | $this->assertEquals('instance', $e->getInstance()); |
||
| 40 | $this->assertEquals('Configuration error', $e->getMessage()); |
||
| 41 | return; |
||
| 42 | } |
||
| 45 |