/** * @return null */ public function testGetSetCallbackClosure() { $this->assertNull($this->request->getCallback()); $callback = function ($raw) { return $raw; }; $this->assertSame($this->request, $this->request->setCallback($callback)); $this->assertSame($callback, $this->request->getCallback()); }