You are here

public function FeedClearHandlerTest::testStartBatchClear in Feeds 8.3

@covers ::startBatchClear

File

tests/src/Unit/FeedClearHandlerTest.php, line 64

Class

FeedClearHandlerTest
@coversDefaultClass \Drupal\feeds\FeedClearHandler @group feeds

Namespace

Drupal\Tests\feeds\Unit

Code

public function testStartBatchClear() {
  $this->feed
    ->expects($this
    ->once())
    ->method('lock')
    ->will($this
    ->returnValue($this->feed));
  $this->handler
    ->startBatchClear($this->feed);
}