diff --git a/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php index 71f3ad0521..a355a1ab85 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php @@ -182,8 +182,6 @@ class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase public function testGetListenersOnLazyLoad() { - $event = new Event(); - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); $container = new Container(); @@ -201,8 +199,6 @@ class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase public function testRemoveAfterDispatch() { - $event = new Event(); - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); $container = new Container(); @@ -218,8 +214,6 @@ class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase public function testRemoveBeforeDispatch() { - $event = new Event(); - $service = $this->getMock('Symfony\Component\EventDispatcher\Tests\Service'); $container = new Container(); diff --git a/src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php index 6402f89fa5..80a7e43be6 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/ImmutableEventDispatcherTest.php @@ -13,7 +13,6 @@ namespace Symfony\Component\EventDispatcher\Tests; use Symfony\Component\EventDispatcher\Event; use Symfony\Component\EventDispatcher\ImmutableEventDispatcher; -use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * @author Bernhard Schussek