| @@ 32-38 (lines=7) @@ | ||
| 29 | ||
| 30 | private $eventDispatcher; |
|
| 31 | ||
| 32 | protected function setUp(): void |
|
| 33 | { |
|
| 34 | $this->twig = $this->prophesize(Environment::class); |
|
| 35 | $this->router = $this->prophesize(RouterInterface::class); |
|
| 36 | $this->sessionManager = $this->prophesize(SessionManagerInterface::class); |
|
| 37 | $this->eventDispatcher = new TestEventDispatcher(); |
|
| 38 | } |
|
| 39 | ||
| 40 | public function testExecute(): void |
|
| 41 | { |
|
| @@ 33-39 (lines=7) @@ | ||
| 30 | ||
| 31 | private $eventDispatcher; |
|
| 32 | ||
| 33 | protected function setUp(): void |
|
| 34 | { |
|
| 35 | $this->twig = $this->prophesize(Environment::class); |
|
| 36 | $this->router = $this->prophesize(RouterInterface::class); |
|
| 37 | $this->sessionManager = $this->prophesize(SessionManagerInterface::class); |
|
| 38 | $this->eventDispatcher = new TestEventDispatcher(); |
|
| 39 | } |
|
| 40 | ||
| 41 | public function testExecute(): void |
|
| 42 | { |
|