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\EntityCode
public function testCustomSourceExists() {
$this
->assertSame(TRUE, $this->feedType
->customSourceExists('source1'));
$this
->assertSame(FALSE, $this->feedType
->customSourceExists('non_existing'));
}