You are here

public function JmesPathParserTest::testEmptyFeed in Feeds extensible parsers 8

Tests empty feed handling.

File

tests/src/Unit/Feeds/Parser/JmesPathParserTest.php, line 222

Class

JmesPathParserTest
@coversDefaultClass \Drupal\feeds_ex\Feeds\Parser\JmesPathParser @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());
}