public function testGetUrl() { $base = 'http://localhost/index.php/'; $withRoute = "{$base}catalog/product/view/id/10/"; $this->assertEquals($base, $this->_block->getUrl()); $this->assertEquals($withRoute, $this->_block->getUrl('catalog/product/view', array('id' => 10))); }