You are here

public function HttpFetcherTest::testOnFeedDeleteMultiple in Feeds 8.3

@covers ::onFeedDeleteMultiple

File

tests/src/Unit/Feeds/Fetcher/HttpFetcherTest.php, line 131

Class

HttpFetcherTest
@coversDefaultClass \Drupal\feeds\Feeds\Fetcher\HttpFetcher @group feeds

Namespace

Drupal\Tests\feeds\Unit\Feeds\Fetcher

Code

public function testOnFeedDeleteMultiple() {
  $feed = $this
    ->createMock(FeedInterface::class);
  $feed
    ->expects($this
    ->exactly(3))
    ->method('getSource')
    ->will($this
    ->returnValue('http://example.com'));
  $feeds = [
    $feed,
    $feed,
    $feed,
  ];
  $this->fetcher
    ->onFeedDeleteMultiple($feeds, new State());
}