public function setUp()
{
$this->_routes = Router::get();
Router::reset();
Router::connect('/{:controller}/{:action}/{:id}.{:type}');
Router::connect('/{:controller}/{:action}.{:type}');
$this->context = new MockRenderer(array('request' => new Request(array('base' => '', 'env' => array('HTTP_HOST' => 'foo.local'))), 'response' => new Response()));
$this->html = new Html(array('context' => &$this->context));
}