You are here

protected function EventTest::setUp 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::setUp()

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

File

vendor/symfony/event-dispatcher/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();
}