public function fakeResponse()
{
$this->url->discardChanges();
if (preg_match('~github\\.com/([^/]+)/([a-z0-9]+)~i', $this->url, $matches)) {
return array('type' => 'rich', 'provider_name' => 'GitHub', 'provider_url' => 'https://github.com', 'html' => '<script type="text/javascript" src="https://gist.github.com/' . $matches['1'] . '/' . $matches['2'] . '.js"></script>', 'title' => 'gist:' . $matches['2']);
}
return array();
}