You are here

public function EventTest::testLegacySetName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/event-dispatcher/Tests/EventTest.php \Symfony\Component\EventDispatcher\Tests\EventTest::testLegacySetName()

@group legacy

File

vendor/symfony/event-dispatcher/Tests/EventTest.php, line 91

Class

EventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

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