You are here

public function FetcherResultTest::testNonExistantFile in Feeds 8.3

@covers ::getRaw

File

tests/src/Unit/Result/FetcherResultTest.php, line 45

Class

FetcherResultTest
@coversDefaultClass \Drupal\feeds\Result\FetcherResult @group feeds

Namespace

Drupal\Tests\feeds\Unit\Result

Code

public function testNonExistantFile() {
  $result = new FetcherResult('IDONOTEXIST');
  $this
    ->expectException(RuntimeException::class);
  $result
    ->getRaw();
}