| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 38 | public function testExceptionWithoutMessage() |
||
| 39 | { |
||
| 40 | $e = new EmptyContentException(); |
||
| 41 | $this->assertEquals( |
||
| 42 | 'The status is valid but the response is empty.', |
||
| 43 | $e->getMessage(), |
||
| 44 | 'default message should be returned.' |
||
| 45 | ); |
||
| 46 | |||
| 47 | $this->assertEquals(0, $e->getCode()); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |