| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 4 | Features | 0 |
| 1 | <?php |
||
| 6 | public function testDefaultConstruction() |
||
| 7 | { |
||
| 8 | $message = 'imamessagestring'; |
||
| 9 | |||
| 10 | $e = new TransactionException($message); |
||
| 11 | |||
| 12 | $this->assertEquals('Error occured during transaction', $e->getTitle()); |
||
| 13 | $this->assertEquals('alert-error', $e->getAlertType()); |
||
| 14 | $this->assertEquals(0, $e->getCode()); |
||
| 15 | $this->assertEquals(null, $e->getPrevious()); |
||
| 16 | } |
||
| 17 | |||
| 19 |