public function testUrlBuildReverseCompact() { $tests = array(array('/', '#^/#', array('')), array('', '#^$#', array(''))); foreach ($tests as $t) { $this->assertequals($t[0], URL::buildReverse($t[1], $t[2])); } }