| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare( strict_types = 1 ); |
||
| 39 | public function testGetExceptionFromNoResourceURL () : void |
||
| 40 | { |
||
| 41 | $apiReader = new ApiReader(); |
||
| 42 | |||
| 43 | $this->expectException( SourceWatcherException::class ); |
||
| 44 | $this->expectExceptionMessage( i18n::getInstance()->getText( "en_US", ApiReader::class, "No_Resource_URL_Found" ) ); |
||
| 45 | |||
| 46 | $apiReader->read(); |
||
| 47 | } |
||
| 49 |