You are here

protected function ImmutableEventDispatcherTest::setUp in Zircon Profile 8

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

File

vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php, line 32

Class

ImmutableEventDispatcherTest
@author Bernhard Schussek <bschussek@gmail.com>

Namespace

Symfony\Component\EventDispatcher\Tests

Code

protected function setUp() {
  $this->innerDispatcher = $this
    ->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface');
  $this->dispatcher = new ImmutableEventDispatcher($this->innerDispatcher);
}