public function EventTest::testSetName

File

drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests/EventTest.php, line 79

Class

EventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

public function testSetName() {
  $this->event
    ->setName('foo');
  $this
    ->assertEquals('foo', $this->event
    ->getName());
}