setControllerName() public method

Note: This is not the object name of the controller! Examples: "Standard", "Account", ...
public setControllerName ( string $controllerName ) : void
$controllerName string Name of the controller
return void
 /**
  * @test
  * @param mixed $invalidControllerName
  * @dataProvider invalidControllerNames
  * @expectedException \Neos\Flow\Mvc\Exception\InvalidControllerNameException
  */
 public function setControllerNameThrowsExceptionOnInvalidControllerNames($invalidControllerName)
 {
     $this->actionRequest->setControllerName($invalidControllerName);
 }
 /**
  * Set the default controller and action names if none has been specified.
  *
  * @param ActionRequest $actionRequest
  * @return void
  */
 protected function setDefaultControllerAndActionNameIfNoneSpecified(ActionRequest $actionRequest)
 {
     if ($actionRequest->getControllerName() === null) {
         $actionRequest->setControllerName('Standard');
     }
     if ($actionRequest->getControllerActionName() === null) {
         $actionRequest->setControllerActionName('index');
     }
 }