Testing code that makes HTTP requests in Drupal