You are here

public function FeedTypeTest::testCustomSourceExists in Feeds 8.3

@covers ::customSourceExists

File

tests/src/Unit/Entity/FeedTypeTest.php, line 170

Class

FeedTypeTest
@coversDefaultClass \Drupal\feeds\Entity\FeedType @group feeds

Namespace

Drupal\Tests\feeds\Unit\Entity

Code

public function testCustomSourceExists() {
  $this
    ->assertSame(TRUE, $this->feedType
    ->customSourceExists('source1'));
  $this
    ->assertSame(FALSE, $this->feedType
    ->customSourceExists('non_existing'));
}