/** * @expectedException InvalidArgumentException */ public function testFlusherException() { $e = new Dispatcher(); $e->flusher('foo', 'adslkadf'); }