You are here

public function FeedExpireHandlerTest::testPostExpire in Feeds 8.3

@covers ::postExpire

File

tests/src/Unit/FeedExpireHandlerTest.php, line 105

Class

FeedExpireHandlerTest
@coversDefaultClass \Drupal\feeds\FeedExpireHandler @group feeds

Namespace

Drupal\Tests\feeds\Unit

Code

public function testPostExpire() {
  $state = new State();
  $state->total = 1;
  $this->feed
    ->expects($this
    ->once())
    ->method('getState')
    ->will($this
    ->returnValue($state));
  $this->handler
    ->postExpire($this->feed);
}