/** * {@inheritdoc} */ public function getLinkCollection() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getLinkCollection'); if (!$pluginInfo) { return parent::getLinkCollection(); } else { return $this->___callPlugins('getLinkCollection', func_get_args(), $pluginInfo); } }
public function testGetLinkCollection() { $this->assertInstanceOf('Magento\\Catalog\\Model\\ResourceModel\\Product\\Link\\Collection', $this->model->getLinkCollection()); }