You are here

public function FeedImportHandlerTest::testImport in Feeds 8.3

@covers ::import

File

tests/src/Unit/FeedImportHandlerTest.php, line 66

Class

FeedImportHandlerTest
@coversDefaultClass \Drupal\feeds\FeedImportHandler @group feeds

Namespace

Drupal\Tests\feeds\Unit

Code

public function testImport() {
  $this->handler
    ->expects($this
    ->once())
    ->method('getExecutable')
    ->willReturn($this
    ->createMock(FeedsExecutableInterface::class));
  $this->handler
    ->import($this->feed);
}