Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function testItReturnsBaseExceptionProvidedToConstruct(): void |
||
14 | { |
||
15 | $baseException = new BaseRequestException( |
||
16 | 'It is an exception', |
||
17 | new Request('get', 'http://foo.bar') |
||
18 | ); |
||
19 | $exception = new RequestException($baseException); |
||
20 | $this->assertEquals($exception->getBaseException(), $baseException); |
||
21 | } |
||
23 | } |