public function SyndicationParserTest::testEmptyFeed in Feeds 8.3
Tests parsing an empty feed.
@covers ::parse
File
- tests/
src/ Unit/ Feeds/ Parser/ SyndicationParserTest.php, line 156
Class
- SyndicationParserTest
- @coversDefaultClass \Drupal\feeds\Feeds\Parser\SyndicationParser @group feeds
Namespace
Drupal\Tests\feeds\Unit\Feeds\ParserCode
public function testEmptyFeed() {
$result = new RawFetcherResult('', $this
->getMockFileSystem());
$this
->expectException(EmptyFeedException::class);
$this->parser
->parse($this->feed, $result, $this->state);
}