You are here

public function FeedTest::testSetSource in Feeds 8.3

@covers ::setSource @covers ::getSource

File

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

Class

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

Namespace

Drupal\Tests\feeds\Kernel\Entity

Code

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