public function testRun()
{
Router::connect('/', array('controller' => 'test', 'action' => 'test'));
MockDispatcher::run(new Request(array('url' => '/')));
$result = end(MockDispatcher::$dispatched);
$expected = array('controller' => 'Test', 'action' => 'test');
$this->assertEqual($expected, $result->params);
}