-
- /**
- * @group legacy
- */
- public function testLegacySetDispatcher()
- {
- $this->event->setDispatcher($this->dispatcher);
- $this->assertSame($this->dispatcher, $this->event->getDispatcher());
- }
-
- /**
- * @group legacy
- */
- public function testLegacyGetDispatcher()
- {
- $this->assertNull($this->event->getDispatcher());
- }
-
- /**
- * @group legacy
- */
- public function testLegacyGetName()
- {
- $this->assertNull($this->event->getName());
- }
-
- /**
- * @group legacy
- */
- public function testLegacySetName()
- {
- $this->event->setName('foo');
- $this->assertEquals('foo', $this->event->getName());
- }