public function GenericEventTest::testGetArgException

@expectedException \InvalidArgumentException

File

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

Class

GenericEventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

public function testGetArgException() {
  $this->event
    ->getArgument('nameNotExist');
}