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