public function testGetPassword() { $pass = '******'; $this->store->setConfig('intraship/dhlonlineretoure/password', $pass); $this->assertEquals($pass, $this->config->getPassword()); }
public function setConfig(Dhl_OnlineRetoure_Model_Config $config) { $this->_config = $config; $this->setUsername($this->_config->getUser())->setPassword($this->_config->getPassword())->setPortalId($this->_config->getPortalId())->setLabelFormat(Dhl_OnlineRetoure_Model_Config::ONLINERETOURE_LABEL_FORMAT)->setWsdl($this->_config->getWsdlUri()); return $this; }