You are here

public function DeleteFeedsEventTest::testGetFeeds in Feeds 8.3

@covers ::getFeeds

File

tests/src/Unit/Event/DeleteFeedsEventTest.php, line 17

Class

DeleteFeedsEventTest
@coversDefaultClass \Drupal\feeds\Event\DeleteFeedsEvent @group feeds

Namespace

Drupal\Tests\feeds\Unit\Event

Code

public function testGetFeeds() {
  $feeds = [
    $this
      ->createMock('Drupal\\feeds\\FeedInterface'),
  ];
  $event = new DeleteFeedsEvent($feeds);
  $this
    ->assertSame($feeds, $event
    ->getFeeds());
}