public function EntityProcessorBaseTest::testProcess in Feeds 8.3
@covers ::process
File
- tests/
src/ Kernel/ Feeds/ Processor/ EntityProcessorBaseTest.php, line 114
Class
- EntityProcessorBaseTest
- @coversDefaultClass \Drupal\feeds\Feeds\Processor\EntityProcessorBase @group feeds
Namespace
Drupal\Tests\feeds\Kernel\Feeds\ProcessorCode
public function testProcess() {
$item = $this
->createMock(ItemInterface::class);
$item
->expects($this
->any())
->method('toArray')
->will($this
->returnValue([]));
$this->feedType
->expects($this
->any())
->method('getMappedSources')
->will($this
->returnValue([]));
$this->processor
->process($this->feed, $item, $this->state);
// @todo This method should be tested with multiple times with different
// settings.
$this
->markTestIncomplete('Test is a stub.');
}