public function FeedTest::testGetType in Feeds 8.3
@covers ::getType
File
- tests/
src/ Kernel/ Entity/ FeedTest.php, line 73
Class
- FeedTest
- @coversDefaultClass \Drupal\feeds\Entity\Feed @group feeds
Namespace
Drupal\Tests\feeds\Kernel\EntityCode
public function testGetType() {
$feed = $this
->createFeed($this->feedType
->id());
$feed_type = $feed
->getType();
$this
->assertInstanceOf(FeedTypeInterface::class, $feed_type);
$this
->assertSame($this->feedType
->id(), $feed_type
->id());
}