| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function testConstructWithRepositoryNameOnly() { |
||
| 16 | $exception = new UnknownForeignRepositoryException( 'foo' ); |
||
| 17 | |||
| 18 | $this->assertSame( 'foo', $exception->getRepositoryName() ); |
||
| 19 | $this->assertSame( 'Unknown repository name: foo', $exception->getMessage() ); |
||
| 20 | $this->assertSame( 0, $exception->getCode() ); |
||
| 21 | $this->assertNull( $exception->getPrevious() ); |
||
| 22 | } |
||
| 23 | |||
| 35 |