Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function testExceptionMessage() |
||
11 | { |
||
12 | try { |
||
13 | new SnappyResponse('', 'test.jpg', 'image/jpg', 'foo'); |
||
14 | } catch (\InvalidArgumentException $e) { |
||
15 | $this->assertSame('Expected one of the following directives: "inline", "attachment", but "foo" given.', $e->getMessage()); |
||
16 | } |
||
17 | } |
||
18 | } |
||
19 |