<?php

/**
 * @file
 * Contains \Drupal\Tests\feeds\Unit\EventBaseTest.
 */

namespace Drupal\Tests\feeds\Unit\Event;

use Drupal\Tests\feeds\Unit\FeedsUnitTestCase;

/**
 * @coversDefaultClass \Drupal\feeds\Event\EventBase
 * @group feeds
 */
class EventBaseTest extends FeedsUnitTestCase {

  public function test() {
    $feed = $this->getMock('Drupal\feeds\FeedInterface');
    $event = $this->getMockForAbstractClass('Drupal\feeds\Event\EventBase', [$feed]);
    $this->assertSame($feed, $event->getFeed());
  }

}
