public function new_instance_of_invokeable()
 {
     $type = new FunctionType([Type::$VAR], Type::$VAR);
     $inv = new FunctionTypeInvokeable();
     $this->assertInstanceOf('Closure', $type->newInstance($inv));
 }