public function testConstructor() { $closure = function () { }; $callback = new Callback($closure); $this->assertAttributeSame($closure, '_callback', $callback); }