public function testCanSetDifferentHandlerAfterConstruction() { $f = function () { }; $h = new HandlerStack(); $h->setHandler($f); $h->resolve(); }