@expectedException \BadMethodCallException
public function testRemoveSubscriberDisallowed() {
$subscriber = $this
->getMock('Symfony\\Component\\EventDispatcher\\EventSubscriberInterface');
$this->dispatcher
->removeSubscriber($subscriber);
}