Skip to content

Commit c258d75

Browse files
author
Andrei Onita
committed
exception added to test/Event/ControllerEventListenerTraitTest.php:setUp
1 parent c8952d7 commit c258d75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Event/ControllerEventListenerTraitTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Dot\Controller\Event\ControllerEvent;
88
use Dot\Controller\Event\ControllerEventListenerTrait as Subject;
99
use Laminas\EventManager\EventManagerInterface;
10+
use PHPUnit\Framework\MockObject\Exception;
1011
use PHPUnit\Framework\TestCase;
1112

1213
use function is_callable;
@@ -15,6 +16,9 @@ class ControllerEventListenerTraitTest extends TestCase
1516
{
1617
private object $traitObject;
1718

19+
/**
20+
* @throws Exception
21+
*/
1822
protected function setUp(): void
1923
{
2024
$eventManager = $this->createMock(EventManagerInterface::class);

0 commit comments

Comments
 (0)