You are here

protected function EntityFinderTest::createEntityFinderInstance in Feeds 8.3

Creates an entity finder instance.

Return value

\Drupal\feeds\EntityFinder The entity finder instance to test with.

File

tests/src/Unit/EntityFinderTest.php, line 63

Class

EntityFinderTest
@coversDefaultClass \Drupal\feeds\EntityFinder @group feeds

Namespace

Drupal\Tests\feeds\Unit

Code

protected function createEntityFinderInstance() {
  return new EntityFinder($this->entityTypeManager
    ->reveal(), $this->entityRepository
    ->reveal());
}