You are here

public function HtmlParserTest::testEmptyFeed in Feeds extensible parsers 8

Tests empty feed handling.

File

tests/src/Unit/Feeds/Parser/HtmlParserTest.php, line 223

Class

HtmlParserTest
@coversDefaultClass \Drupal\feeds_ex\Feeds\Parser\HtmlParser @group feeds_ex

Namespace

Drupal\Tests\feeds_ex\Unit\Feeds\Parser

Code

public function testEmptyFeed() {
  $this->parser
    ->parse($this->feed, new RawFetcherResult(' ', $this->fileSystem), $this->state);
  $this
    ->assertEmptyFeedMessage($this->parser
    ->getMessenger()
    ->getMessages());
}