/** * Test case for oePayPalConfig::getPassword() * * @dataProvider providerGetTextConfig */ public function testGetPassword($bSandBoxEnabled, $sSandBoxPassword, $sPassword, $sResult) { $oConfig = new oePayPalConfig(); $this->getConfig()->setConfigParam('blOEPayPalSandboxMode', $bSandBoxEnabled); $this->getConfig()->setConfigParam('sOEPayPalSandboxPassword', $sSandBoxPassword); $this->getConfig()->setConfigParam('sOEPayPalPassword', $sPassword); $this->assertEquals($sResult, $oConfig->getPassword()); }