public function testLink() { $h = new Url($this->container); $this->assertEquals('<a href="?controller=a&action=b&d=e" class="f" title="g" target="_blank">label</a>', $h->link('label', 'a', 'b', array('d' => 'e'), false, 'f', 'g', true)); }