public function testNoExceptionForGetHrefIfDefaultUrlHelperIsSet() { $page = new Page\Mvc(array('label' => 'foo', 'action' => 'index', 'controller' => 'index', 'defaultUrlHelper' => $this->urlHelper)); // If the default url helper is not used an exception will be thrown. // This method intentionally has no assertion. $page->getHref(); $page->setDefaultUrlHelper(null); }