public function testGetRouteFrontName() { $routeId = 1; $scope = null; $this->_object->expects($this->once())->method('getRouteFrontName')->with($routeId, $scope); $this->_proxy->getRouteFrontName($routeId, $scope); }
/** * Set route name * * @param string $route * @return $this */ public function setRouteName($route) { $this->route = $route; $module = $this->routeConfig->getRouteFrontName($route); if ($module) { $this->setModuleName($module); } return $this; }