public function testClosureBindToObjectScope()
{
$a = new A();
$b = function () {
return $this->aProtected();
};
$b = $b->bindTo($a, __NAMESPACE__ . "\\A");
$u = $this->s($b);
$this->assertEquals('protected called', $u());
}