public function testThrowsExceptionsWhenInvalidHandlersAreAdded() { $this->manager->addCallbacks('someName', ['event' => function ($event) { }]); }