Exemplo n.º 1
0
 public function testGetGroupChildNames()
 {
     $blockName = 'block_name';
     $groupName = 'group_name';
     $this->structureMock->expects($this->once())->method('getGroupChildNames')->with($this->equalTo($blockName), $this->equalTo($groupName))->will($this->returnSelf());
     $this->assertSame($this->structureMock, $this->model->getGroupChildNames($blockName, $groupName));
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function getGroupChildNames($blockName, $groupName)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getGroupChildNames');
     if (!$pluginInfo) {
         return parent::getGroupChildNames($blockName, $groupName);
     } else {
         return $this->___callPlugins('getGroupChildNames', func_get_args(), $pluginInfo);
     }
 }