Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function testConstructWithAllArguments() { |
||
25 | $previous = new Exception(); |
||
26 | $exception = new UnknownForeignRepositoryException( 'foo', 'No such repository: foo', $previous ); |
||
27 | |||
28 | $this->assertSame( 'foo', $exception->getRepositoryName() ); |
||
29 | $this->assertSame( 'No such repository: foo', $exception->getMessage() ); |
||
30 | $this->assertSame( 0, $exception->getCode() ); |
||
31 | $this->assertSame( $previous, $exception->getPrevious() ); |
||
32 | } |
||
33 | |||
35 |