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)); }
/** * {@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); } }