diff --git a/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php index f19fb9fb87..9c1293125a 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/Debug/TraceableEventDispatcherTest.php @@ -117,9 +117,6 @@ class TraceableEventDispatcherTest extends TestCase $tdispatcher = new TraceableEventDispatcher($dispatcher, $stopWatch); $listener = function () {}; - if ($isWrapped) { - $listener = new WrappedListener($listener, 'foo', $stopWatch, $dispatcher); - } $tdispatcher->addListener('foo', $listener, 5);