/** * Test case for oePayPalConfig::getSignature() * * @dataProvider providerGetTextConfig */ public function testGetSignature($bSandBoxEnabled, $sSandBoxSignature, $sSignature, $sResult) { $oConfig = new oePayPalConfig(); $this->getConfig()->setConfigParam('blOEPayPalSandboxMode', $bSandBoxEnabled); $this->getConfig()->setConfigParam('sOEPayPalSandboxSignature', $sSandBoxSignature); $this->getConfig()->setConfigParam('sOEPayPalSignature', $sSignature); $this->assertEquals($sResult, $oConfig->getSignature()); }