public function UploadFetcherTest::testOnFeedDeleteMultiple in Feeds 8.3
@covers ::onFeedDeleteMultiple
File
- tests/
src/ Unit/ Feeds/ Fetcher/ UploadFetcherTest.php, line 102
Class
- UploadFetcherTest
- @coversDefaultClass \Drupal\feeds\Feeds\Fetcher\UploadFetcher @group feeds
Namespace
Drupal\Tests\feeds\Unit\Feeds\FetcherCode
public function testOnFeedDeleteMultiple() {
$feed = $this
->createMock(FeedInterface::class);
$feed
->expects($this
->exactly(2))
->method('getConfigurationFor')
->with($this->fetcher)
->will($this
->returnValue([
'fid' => 10,
] + $this->fetcher
->defaultFeedConfiguration()));
$feeds = [
$feed,
$feed,
];
$this->fetcher
->onFeedDeleteMultiple($feeds);
}