protected function EventTest::setUp

Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.

File

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

Class

EventTest
Test class for Event.

Namespace

Symfony\Component\EventDispatcher\Tests

Code

protected function setUp() {
  $this->event = new Event();
  $this->dispatcher = new EventDispatcher();
}