You are here

public function OpmlParserTest::testEmptyFeed in Feeds 8.3

Tests parsing an empty feed.

@covers ::parse

File

tests/src/Unit/Feeds/Parser/OpmlParserTest.php, line 84

Class

OpmlParserTest
@coversDefaultClass \Drupal\feeds\Feeds\Parser\OpmlParser @group feeds

Namespace

Drupal\Tests\feeds\Unit\Feeds\Parser

Code

public function testEmptyFeed() {
  $this
    ->expectException(EmptyFeedException::class);
  $this->parser
    ->parse($this->feed, new RawFetcherResult('', $this
    ->getMockFileSystem()), $this->state);
}