public function SitemapParserTest::testInvalidFeed in Feeds 8.3
Tests parsing an invalid feed.
@covers ::parse
File
- tests/
src/ Unit/ Feeds/ Parser/ SitemapParserTest.php, line 85  
Class
- SitemapParserTest
 - @coversDefaultClass \Drupal\feeds\Feeds\Parser\SitemapParser @group feeds
 
Namespace
Drupal\Tests\feeds\Unit\Feeds\ParserCode
public function testInvalidFeed() {
  $fetcher_result = new RawFetcherResult('beep boop', $this
    ->getMockFileSystem());
  $this
    ->expectException(Exception::class);
  $result = $this->parser
    ->parse($this->feed, $fetcher_result, $this->state);
}