/**
  * {@inheritdoc}
  */
 public function setRefererUrl()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setRefererUrl');
     if (!$pluginInfo) {
         return parent::setRefererUrl();
     } else {
         return $this->___callPlugins('setRefererUrl', func_get_args(), $pluginInfo);
     }
 }
Beispiel #2
0
 public function testSetRefererUrl()
 {
     $this->redirectInterface->expects($this->once())->method('getRefererUrl');
     $this->assertInstanceOf('Magento\\Framework\\Controller\\Result\\Redirect', $this->redirect->setRefererUrl());
 }