Extends
lithium\test\Unit
Tests getting routes using `Router::get()`, and checking to see if the routes returned match
the routes connected.
Source
public function testRouteRetrieval() {
$expected = Router::connect('/hello', array('controller' => 'posts', 'action' => 'index'));
$result = Router::get(0);
$this->assertIdentical($expected, $result);
list($result) = Router::get();
$this->assertIdentical($expected, $result);
}