public function testHasListenersDelegates() {
$this->innerDispatcher
->expects($this
->once())
->method('hasListeners')
->with('event')
->will($this
->returnValue('result'));
$this
->assertSame('result', $this->dispatcher
->hasListeners('event'));
}