You are here

public function EventTest::testLegacySetDispatcher in Zircon Profile 8.0

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

@group legacy

File

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

Class

EventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

public function testLegacySetDispatcher() {
  $this->event
    ->setDispatcher($this->dispatcher);
  $this
    ->assertSame($this->dispatcher, $this->event
    ->getDispatcher());
}