function testPushHandlers() { $this->assertEmpty($this->collector->getHandlers()); $this->collector->pushHandler(function () { return true; }); $this->assertNotEmpty($this->collector->getHandlers()); }