Test ReflectionMethod::getClosure()