You are here

public function JmesPathParserTest::dataProviderValidContext in Feeds extensible parsers 8

Data provider for testSetContext().

Overrides ContextTestTrait::dataProviderValidContext

File

tests/src/Functional/Feeds/Parser/JmesPathParserTest.php, line 23

Class

JmesPathParserTest
@coversDefaultClass \Drupal\feeds_ex\Feeds\Parser\JmesPathParser @group feeds_ex

Namespace

Drupal\Tests\feeds_ex\Functional\Feeds\Parser

Code

public function dataProviderValidContext() {
  return [
    [
      'items',
    ],
    [
      'length(people)',
    ],
    [
      'sort_by(people, &age)',
    ],
  ];
}