/** * Test case for oePayPalConfig::isSandboxEnabled() * * @return null */ public function testIsSandboxEnabled() { $oConfig = new oePayPalConfig(); $this->getConfig()->setConfigParam('blOEPayPalSandboxMode', true); $this->assertTrue($oConfig->isSandboxEnabled()); $this->getConfig()->setConfigParam('blOEPayPalSandboxMode', false); $this->assertFalse($oConfig->isSandboxEnabled()); }