You are here

public function ItemTestBase::testImplementingInterface in Feeds 8.3

Tests if the item is implementing the expected interface.

File

tests/src/Unit/Feeds/Item/ItemTestBase.php, line 23

Class

ItemTestBase
Base class for item tests.

Namespace

Drupal\Tests\feeds\Unit\Feeds\Item

Code

public function testImplementingInterface() {
  $this
    ->assertInstanceOf(ItemInterface::class, $this->item);
}