[EventDispatcher] Added assertion.

This commit is contained in:
Jakub Zalas 2013-02-10 12:26:00 +01:00
parent ade5de0da1
commit 4ce9ac3a27

View File

@ -221,6 +221,7 @@ class EventDispatcherTest extends \PHPUnit_Framework_TestCase
$dispatcher = new EventDispatcher();
$dispatcher->addListener('bug.62976', new CallableClass());
$dispatcher->removeListener('bug.62976', function() {});
$this->assertTrue($dispatcher->hasListeners('bug.62976'));
}
}