You are here

public function FeedTypeTest::testRemoveCustomSource in Feeds 8.3

@covers ::removeCustomSource

File

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

Class

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

Namespace

Drupal\Tests\feeds\Unit\Entity

Code

public function testRemoveCustomSource() {

  // Remove source 1.
  $this
    ->assertSame($this->feedType, $this->feedType
    ->removeCustomSource('source1'));
  $this
    ->assertSame([], $this->feedType
    ->getMappingSources());
}