You are here

public function FeedTest::testGetSource in Feeds 8.3

@covers ::getSource

File

tests/src/Kernel/Entity/FeedTest.php, line 52

Class

FeedTest
@coversDefaultClass \Drupal\feeds\Entity\Feed @group feeds

Namespace

Drupal\Tests\feeds\Kernel\Entity

Code

public function testGetSource() {
  $feed = $this
    ->createFeed($this->feedType
    ->id(), [
    'source' => 'http://www.example.com',
  ]);
  $this
    ->assertEquals('http://www.example.com', $feed
    ->getSource());
}