/** * {@inheritdoc} */ public function getCredentialStorage() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getCredentialStorage'); if (!$pluginInfo) { return parent::getCredentialStorage(); } else { return $this->___callPlugins('getCredentialStorage', func_get_args(), $pluginInfo); } }
public function testGetCredentialStorageList() { $storage = $this->_model->getCredentialStorage(); $this->assertInstanceOf('Magento\\Backend\\Model\\Auth\\Credential\\StorageInterface', $storage); }