/** * Note: isolation flushes the URL memory cache * @magentoAppIsolation enabled */ public function testGetDirectUrl() { $this->assertEquals('http://localhost/index.php/fancy_uri?foo=bar', $this->_model->getDirectUrl('fancy_uri', array('_query' => array('foo' => 'bar')))); }