Removed now useless test

This commit is contained in:
Jordan Alliot 2011-09-29 18:17:30 +02:00
parent 21cf0ac5d7
commit 3223c5a1f3

View File

@ -61,15 +61,6 @@ class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase
$dispatcher->dispatch('onEvent', $event);
}
/**
* @expectedException \InvalidArgumentException
*/
public function testTriggerASubscriberDoesntImplementInterface()
{
$dispatcher = new ContainerAwareEventDispatcher(new Container());
$dispatcher->addSubscriberService('service.subscriber', 'Symfony\Bundle\FrameworkBundle\Tests\Service');
}
public function testPreventDuplicateListenerService()
{
$event = new Event();