function FeedProcessorPluginTest::testProcess
Tests processing functionality.
File
- 
              core/modules/ aggregator/ tests/ src/ Functional/ FeedProcessorPluginTest.php, line 37 
Class
- FeedProcessorPluginTest
- Tests the processor plugins functionality and discoverability.
Namespace
Drupal\Tests\aggregator\FunctionalCode
public function testProcess() {
  $feed = $this->createFeed();
  $this->updateFeedItems($feed);
  foreach ($feed->items as $iid) {
    $item = Item::load($iid);
    $this->assertStringStartsWith('testProcessor', $item->label());
  }
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
