You are here

public function GenericEventTest::testHasArgument in Zircon Profile 8.0

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

File

vendor/symfony/event-dispatcher/Tests/GenericEventTest.php, line 120

Class

GenericEventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

public function testHasArgument() {
  $this
    ->assertTrue($this->event
    ->hasArgument('name'));
  $this
    ->assertFalse($this->event
    ->hasArgument('nameNotExist'));
}