| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function testConstructor() |
||
| 33 | { |
||
| 34 | $exception = new WrongStatusException(self::ERROR_STATUS); |
||
| 35 | $message = sprintf(self::ERROR_MESSAGE, self::ERROR_STATUS); |
||
| 36 | $this->assertEquals($message, $exception->getMessage()); |
||
| 37 | $this->assertEquals(self::ERROR_CODE, $exception->getCode()); |
||
| 38 | } |
||
| 49 |